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 = $
To just get a part of the page you can use it this way:
$('#map').html2canvas({ onrendered: function( canvas ) { var img = canvas.toDataURL() window.open(img); }