JQuery create a form and add elements to it programmatically
<p>Hi I need to create a form and add elements to it programatically.</p>

<pre><code>$form = $("&lt;form&gt;&lt;/form&gt;");
$form.append("&lt;input type=button value=button");
</code></pre>

<p>this doesn't seem to work right.</p>
