Javascript文件丢弃 [英] Javascript File Drop
本文介绍了Javascript文件丢弃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法使用Javascript获取放置事件的绝对文件路径,还是应该使用其他技术?如果是这样,我可以做相同的文件夹?
Is there a way to get the absolute file path of a drop event using Javascript, or should I use another technology? If so, I can do the same with folders?
推荐答案
Javascript在Web浏览器不会给你绝对的文件路径从客户端机器。
Javascript in a web browser is not going to give you absolute file paths from client machines.
另请参阅HTML5拖放: http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html
Also see this about HTML5 drag-and-drop: http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html
这篇关于Javascript文件丢弃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文