开发者

jQuery : File Input Value needed?

How could we get the file input开发者_如何转开发 full path using jquery ?


jQuery("input[type=file]").val(); just for the filename not the entire path.


You can't. Only filename can be read, not fullpath. This restriction is because of security.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜