How to save grid created by jquery
<p>I have create a graph using jquery but I can't save it as .jpg or .png format. Here is my code for jquery grid. Link <a href="http://ushatech.com/customer/Palletized_Material_Handling_Conveyors/build.php?num1=50&amp;num2=50" rel="nofollow">is here</a></p>

<p>HTML part: <code>&lt;div id="working-area" name="working" align="center"&gt;&lt;/div&gt;</code></p>

<p>Script part:</p>

<pre><code>function createGrid(size) {
    var ratioW = Math.floor(num1*$(window).width()/$(window).width()),
        ratioH = Math.floor(num2*$(window).height()/$(window).height());


var parent = $('&lt;div /&gt;', {
    class: 'grid',
    id: 'idgrid',
    width: ratioW  * size,
    height: ratioH  * size
}).addClass('grid').appendTo('#working-area');

for (var i = 0; i &lt; ratioH; i++) {
    for(var p = 0; p &lt; ratioW; p++){
        $('&lt;div /&gt;', {
            width: size - 1,
            height: size - 1
        }).appendTo("#idgrid");
    }
} }
</code></pre>

<p>please give some solution.</p>
