These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:04 pm Advanced search

Issue with dataTransfer.setData

If you are stuck or have questions regarding HTML or other Web technologies, ask your questions here. No question too dumb!

Issue with dataTransfer.setData

Postby anupdg » Fri May 11, 2012 11:05 am

Hi,

If I test the page http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_draganddrop and it code in Firefox its fine. But now if I text the page in Internet explorer 9.

Then also it works but surprisingly if I try to change the setData key name then it not working. Suppose if I change-

Code: Select all
var data=ev.dataTransfer.getData("[b]testKey[/b]");
ev.dataTransfer.setData("[b]testKey[/b]",ev.target.id);


It throwing error "Unexpected call to method or property access". Is it an issue with IE9.

Regards
Anup
anupdg
<h6>
 
Posts: 1
Joined: Fri May 11, 2012 10:56 am

Re: Issue with dataTransfer.setData

Postby zcorpan » Mon Sep 10, 2012 10:32 am

Does IE9 support the draggable attribute? Maybe that's the problem?
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden


Return to Help & Advice

Who is online

Users browsing this forum: No registered users and 1 guest