dragover vs dragenter events of HTML5 drag & drop
The dragenter event happens at the moment you drag something in to the target element, and then it stops. The dragover event happens during the time you are dragging something until you drop it. Look here: $(‘.dropzone’).on(“dragover”, function (event) { console.log(‘dragover’); }); $(‘.dropzone’).on(“dragenter”, function (event) { console.log(‘dragenter’); }); Now see the console: As you can … Read more