Create dynamic div with jquery
<p>Im trying to create a button that generates already formated divs everytime it is pushed.<br><br>
The divs are composed by forms and their fields should already be filled with data that is stored in variables in javascript.</p>

<p>eg.</p>

<pre><code>&lt;div id="myDiv_#"&gt;
&lt;form id="myForm"&gt;
&lt;input type="text" id="start_date" name="start_date" value="someJavascriptVariable" /&gt;
&lt;input type="text" id="end_date" name="end_date" value="someJavascriptVariable" /&gt;
&lt;select name="type" id="type"&gt;
&lt;option value="1"&gt;"someJavascriptVariable"&lt;/option&gt;
&lt;option value="2"&gt;"someJavascriptVariable"&lt;/option&gt;              
&lt;/select&gt;
&lt;input type="button" id="new_button" value="Show"&gt;
&lt;/form&gt;
&lt;/div&gt;

&lt;script&gt;
$('#button_push').click(function() 
{
//creating myDiv_#
}
&lt;/script&gt;
</code></pre>

<p>I was searching arround web, but never found good results :s
Im asking you help with this, maybe a guide line or a start point.
The point is, everytime user push the button, a new div is created with parameters above.</p>

<p>Cheers</p>
