jquery - strange behavior in IE
<p>** Rephrased **</p>

<p><strong>Fails on Load in IE</strong></p>

<pre>
<code>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
        &lt;title&gt;Test&lt;/title&gt;
        &lt;script type=&quot;text/javascript&quot; src=&quot;lib/jquery/jquery-1.3.2.js&quot;&gt;&lt;/script&gt;
        &lt;script type=&quot;text/javascript&quot;&gt;            
            $(document).ready(function(){                
                $(document).find('form').attr('id', 'FRM_0');
            });
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;jQuery Dynamic Form&lt;/h1&gt;
        &lt;form id=&quot;testForm&quot; method=&quot;post&quot; action=&quot;#&quot; onsubmit=&quot;return false;&quot;&gt;
            &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;&quot; /&gt;
        &lt;/form&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code>
</pre>
