I\'m trying to use HTML2Canvas to render the contents of a div. Here is the code:
var htmlSource = $(\'#potenzial-page\')[0]; $(\'#btn\').on(\"click\", fun
I just did something like this and it worked for me:
html2canvas(document.querySelector("#capture2image"), { allowTaint: true, useCORS: true, logging: false, height: window.outerHeight + window.innerHeight, windowHeight: window.outerHeight + window.innerHeight,