html2canvas.js not Working in IE9/10/11.

Wednesday, July 9, 2014

we want capture screenshot of Div (HTML element) which is inside an IFrame . IFrame loads inside another Div at Runtime in a html Page. For capturing screenshot we are using html2canvas.js API. Code is working very fine with Mozilla and Chrome but not Working in IE9/10/11.

The basic requirement is that to capture screenshot of Div and send that image byte-array to Flex application.

Function which captures screenshot is:

function capturImage(){


proxy: "server.js",

useCORS: true,

onrenderd: function(canvas){

var imageData = canvas.todataURL('image/png',1.0);

imageDataOnly = imageData.split(",");





Error In IE: SCRIPT438: Object doesn't support property or method 'getComputedStyle' File: html2canvas.js, Line: 2269, Column: 5

Please let me know if anyone had similar experience or has any clue in resolving the issue.