Javascript File Drop

此生再无相见时 提交于 2019-12-11 04:06:36

问题


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?


回答1:


Javascript in a web browser is not going to give you absolute file paths from client machines.

Also see this about HTML5 drag-and-drop: http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html



来源:https://stackoverflow.com/questions/3025841/javascript-file-drop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!