I have this code
html2canvas($(".container"), {imageTimeout: 2000, removeContainer: true}).then(function(canvas) {
   img = canvas.toDataURL("image/png"),
   doc = new jsPDF({
     unit: 'px',
     format: 'a4'
   });
    window.open(img);
});
I would like that all HTML in $(".container") appeared in my image, but it only creates image with HTML that appeared in screen..
                        
What i understand i write this code. Hope this code help you.