andreyz30001 / flashcanvas

Automatically exported from code.google.com/p/flashcanvas
0 stars 0 forks source link

toDataUrl() - IE8 Support #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, 

     I am using Flashcanvas.js and able to draw Signature in canvas but i am getting error when i want save the image. 
Object does not support property or method 'toDataURL'.

Refer my code below.

var canvas = document.getElementById("canvas");

if (typeof FlashCanvas != "undefined")
  {
      FlashCanvas.initElement(canvas);
      image.src = canvas.toDataURL();
  }

Regards 
Himanshu

Original issue reported on code.google.com by goldiv...@gmail.com on 9 May 2014 at 9:06