I am attempting to use http://html2canvas.hertzen.com/ to take screenshots of my webpage. I am unable to initialize a canvas element using...
var canvas = $
You could also use the following:
var html2obj = html2canvas($('body')); var queue = html2obj.parse(); var canvas = html2obj.render(queue); var img = canvas.toDataURL(); window.open(img);