canvas.todataurl displaying blank image in IE but working in Chrome and Firefox
<script>
$('#h2c').click(function () {
html2canvas(document.querySelector("#plotly_div")).then(function (canvas) {
var imgageData = canvas.toDataURL("image/png", 1.0);
document.getElementById("jpg-export").src = imgageData;
});
});
</script>
canvas.todataurl displaying blank image in IE but working in Chrome and Firefox
<script> $('#h2c').click(function () { html2canvas(document.querySelector("#plotly_div")).then(function (canvas) { var imgageData = canvas.toDataURL("image/png", 1.0); document.getElementById("jpg-export").src = imgageData; }); }); </script>