Forms submit doesn't work in Chrome, ie
<p>There are many forms with a unique id</p>

<pre><code>&lt;form id='fu_edit_1' method='post' action=''&gt;
....
&lt;/form&gt;

&lt;form id='fu_edit_2' method='post' action=''&gt;
....
&lt;/form&gt;
</code></pre>

<p>Use this js code</p>

<pre><code>    var formName = 'fu_edit_'+id;
document.forms[formName].submit();
</code></pre>

<p>so here is the code works fine in ff the last version, but in chrome and ie refused to work. However, if you specify the id of the form directly it works, for example:</p>

<pre><code>document.forms["fu_edit_2"].submit();
</code></pre>

<p>What is wrong?</p>

<hr>

<p>In the console, Chrome writes : <strong>Uncaught TypeError: Object # has no method 'submit'</strong></p>
