Regarding excanvas

6 views
Skip to first unread message

Abhay

unread,
Oct 7, 2011, 6:26:34 AM10/7/11
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);
}

Brandon Donnelson

unread,
Oct 9, 2011, 6:30:36 PM10/9/11
to google-we...@googlegroups.com, abhay....@topsource.co.uk
Does IE7 suppor the HTML5 canvas element. I'm not sure it does. Or maybe I don't know what excanvas is?

Brandon
Reply all
Reply to author
Forward
0 new messages