html5 drag and drop with jquery
API:http://www.tutorialspoint.com/html5/html5_drag_drop.htm
example:http://jsfiddle.net/bNQeJ/4/
注意点:http://stackoverflow.com/questions/8801816/drag-drop-html-5-jquery-how-to-fire-the-drop-event
备注:According to this you need to call event.preventDefault
on the last dragenter
or dragover
event to create a valid drop target.
posted on 2014-12-09 02:22 zhangwenhao2 阅读(79) 评论(0) 收藏 举报