How to store html2canvas generated image in website
<p>I am new to html2canvas. So please don't mind if I am asking silly question. I can generate image using html2canvas.</p>

<p>My code: </p>

<pre><code>$(document).ready(function() { 
    $('#save_image_locally').click(function(){ 
        html2canvas($('#html-content-holder'), { 
            onrendered: function (canvas) { 
                var a = $("&lt;a&gt;").attr("href", canvas.toDataURL('image/png')) .attr("download", "download.png").appendTo("body"); 
                a[0].click(); 
                a.remove(); 
            }
        }); 
    }); 
}); 
</code></pre>