Abhay
unread,Oct 7, 2011, 6:26:34 AM10/7/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit, abhay....@topsource.co.uk
Hi,
We are using your excanvas javascript in the our project to draw
signature it is working in the crome but not in IE7.
My code is :
//if i use this code in crome it working
try{
var c = document.getElementById('canvas');
var img = c.toDataURL("image/png");
}catch(e)
{
alert(e.message); //This thrown exception Object doesn't support this
property or method.
}
try{
var xhr = new XMLHttpRequest();
xhr.open("POST",'sendsig.php', true);
xhr.setRequestHeader('Content-Type', 'application/upload');
xhr.send(img);
alert("done");
}catch(e1)
{
alert(e1.message);
}