Want to know the behavior of html form in firefox?
<p>I have an issue only in firefox:</p>

<p>I am generating query string using my own method with form like</p>

<pre><code>&lt;form name="mytestform" action="/submit.do"&gt;
   &lt;input name="hiddenID" value="12345" type="hidden" &gt; 
&lt;/form&gt;
</code></pre>

<p>this page is called via ajax every time the value hiddenID changed every request.</p>

<p>When I am getting form data using <strong>getFormData(mytestform)</strong> it return the first accessed form value ( i.e all the time I am getting the value <strong>hiddenId=12345</strong> ) .</p>

<p>If I used <strong>getFormData(document.mytestform)</strong> it's working properly.</p>

<p>I am not sure the form objects are cached in firefox or not when i am using ajax .</p>

<p>Please explain me what's the logic behind it ?</p>
