drag and drop on div work in Chrome but redirect in Internet Explorer -


I'm hearing drop events on a div element (v36.0.1985) Chrome, firefox (v30) Incidents, but do not fire in IE (v10.0.9200). I have created a simple JSFiddle to clarify the problem.

Works:

1.) Open YouTube in Chrome

2.) Open in Chrome

3.) Drag a YouTube video thumbnail on "DropZone" and a warning will appear.

Fail:

Redo the above but redirects this page instead of a warning in IE 10 or 11. Step 3.

Note: I've got an example where IE will recognize a drop but it will move to a canvas when I replace a canvas with a diva, then it comes back to the redirect.

$ ("# DropZone"). ("Draglevate", Function,

I have tried different combinations of prevention, StopPropogation, and false return with success:

 (Incident ) {Event.preventDefault (); event.stopPropagation (); Return false;}); $ ("#DropZone"). ("Drainter", Function (Event) {event.preventDefault (); event.stopPropagation (); Return false;}); $ ("#DropZone"). ("Drawer", function (event) {event.preventDefault (); event.stopPropagation (); return false;}); $ ('# DropZone') ('Drop', function () {warning ('test'); event.preventDefault (); event.stopPropagation (); return false;});  

Any help is greatly appreciated. Thanks!


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -