Is it possible to change form attr name dynamically?
<p>I have one form which it's dynamic depends on parameters. the form name attribute should be different for each dynamic built form. Is there a way how to change form name attribute?
or sufficient work around?</p>

<p>this way is not working or I'm missing something</p>

<pre><code>&lt;form action="get" name="oldname"&gt;
&lt;/form&gt;

$('#formid').attr('name', 'dynamicname');
</code></pre>

<p>I'd like to change the "oldname" via client-side javascript so it ends up like this:</p>

<pre><code>&lt;form action="get" name="dynamicname"&gt;
&lt;/form&gt;
</code></pre>

<p>Thanks</p>
