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 can use the following code to capture a screenshot and download the screenshot.
html button creation
function definition
note: I have created a html button where I have called the function. test is an attribute and box1 is to get the canvas elements.
test
box1