Jquery & dataTransfer
Jquery & dataTransfer
Hello!
Who can tell me what's the problem with the code?
$("div:[draggable=true]").live("dragstart",function(ev){
ev.dataTransfer.setData("text",this.id);
return true;
});
the browser show me an error :
Uncaught TypeError: Cannot call method 'setData' of undefined
thanks!
Topic Participants
wangxiaolin1993
jay.blanchard