Skip to content Skip to sidebar Skip to footer

Html2canvas And Flashcanvas On Ie8 Not Working

I use html2canvas library to make a png image of a table. It works on Chrome, Firefox and Safari. The code is as follows: $('#myTable').html2canvas ({ onrendered : functio

Solution 1:

I’m not sure how the canvas element is created, but you might need to do something like this inside the onrendered callback:

if (typeof FlashCanvas != "undefined") {
    FlashCanvas.initElement(canvas);
}
var img = canvas.toDataURL('image/png');
// etc...

See the docs here: http://flashcanvas.net/docs/usage

Post a Comment for "Html2canvas And Flashcanvas On Ie8 Not Working"