Skip to content Skip to sidebar Skip to footer

Drag And Drop Not Working In Firefox

I have implemented drag and drop functionality in JQuery and html5 , its working great in chrome but stuck in Firefox following is my code where i am alerting id of dropped image w

Solution 1:

According to https://developer.mozilla.org/en-US/docs/Web/Events/dragstart set data to null (like in html part of the example, or in the event function) with:

event.dataTransfer.setData('text/plain', null);

Chromium doesn't need of that.

Post a Comment for "Drag And Drop Not Working In Firefox"