开发者

Javascript File Drop

开发者 https://www.devze.com 2023-01-03 08:52 出处:网络
Is there a way to get the absolute file path of a drop event using Javascript, or should I 开发者_C百科use another technology? If so, I can do the same with folders?Javascript in a web browser is not

Is there a way to get the absolute file path of a drop event using Javascript, or should I 开发者_C百科use another technology? If so, I can do the same with folders?


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

0

精彩评论

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