How to add Divs dynamically side by side using Jquery?
<p>can you please help me how to add Divs side by side dynamically using Jquery.
Here is my code</p>

<pre><code>$(document).ready(function() {
    $('#idButton').click(function() {
        for (int i = 0; i &lt;= 3; i++) {
            $('body').append('&lt;div id="divId"+'
            i ' style="height:80px;width:80px;background-image:url('
            flashcard1.png ');"&gt;Images&lt;/div&gt;');
        }
    });
});​
</code></pre>
