jQuery/javascript optimization
<pre><code>$("#mySelect").change(function() {

  var myVar = $('#MyDiv');

  for (var i=0;i&lt;this.value;i++)
    {
     myVar.clone().appendTo('#formContainer');
    }
});
</code></pre>

<p>Any improvements to readability or performance welcome</p>
