How to resolve the C:\fakepath?

后端 未结 13 1721
梦如初夏
梦如初夏 2020-11-21 13:34

This is my upload button.



        
13条回答
  •  悲&欢浪女
    2020-11-21 14:04

    seems you can't find the full path in you localhost by js, but you can hide the fakepath to just show the file name. Use jQuery to get the file input's selected filename without the path

提交回复
热议问题