difference between event.originalEvent.dataTransfer.files and event.dataTransfer.files in html 5
问题 What is the difference between event.originalEvent.dataTransfer.files and event.dataTransfer.files ??? Because in drag and drop , second code does not work and it is undefined and i had to use first code because it works ! 回答1: jQuery does not pass the browser event object to you, it passes the jQuery event object. You can access the original untouched event object by the .originalEvent property in the jQuery event object. Then you can proceed as normal. So in code: jQuery event model: $