none
IE 9 dataTransfer.setData issue

    Question

  • Hi,

    If I try to execute the code in the page http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_draganddrop in internet explorer 9, it works fine. Bu it I try to modify the dataKey name. Then it throws the error "Unexpected call to method or property access". For example if I change the lines to -

    ev.dataTransfer.setData("t",ev.target.id);
    
    var data=ev.dataTransfer.getData("t");
    Then it throws the above error. Is it an issue with the IE9?

    Thanks AnupDG

    Monday, May 14, 2012 6:15 AM

Answers