Html5 Drag And Drop Issue
Thanks for looking at this post I got a jsFiddle page up to demonstrate my issue my js fiddle
Solution 1:
I have made some changes to your drop function.
functiondrop(ev)
{
ev.preventDefault();
var data=ev.dataTransfer.getData("Text");
var new_img = $('#'+data).clone();
$('#'+ev.target.id).html(new_img);
}
Post a Comment for "Html5 Drag And Drop Issue"