jquery selector not working in IE6 due to uppercase id
<p>I have a hidden input field on a page</p>

<pre><code>&lt;div id="SomeDiv"&gt;
    &lt;input type="text" name="ID" id="ID" value="Something"/&gt;
&lt;/div&gt;
</code></pre>

<p>If i use $("#SomeDiv #ID").val() in IE9 i get the value "Something" but in IE6 i'm getting undefined. If i change the id and name to lower case IE6 returns correctly. I.e.</p>

<pre><code>&lt;div id="SomeDiv"&gt;
    &lt;input type="text" name="id" id="id" value="Something"/&gt;
&lt;/div&gt;
</code></pre>

<p>Then <code>$("#SomeDiv #id").val()</code>. Notice I've not changed the case on the div id, only the input.</p>

<p>Anybody else come across this and a possible work around? Client is using IE6 so switching browser is not an option and I keep coming across this.</p>

<p>Update :</p>

<p>I've changed the id value from just "ID" to "WizardID" and it works in IE6</p>

<pre><code>&lt;div id="SomeDiv"&gt;
    &lt;input type="text" name="WizardID" id="WizardID" value="Something"/&gt;
&lt;/div&gt;

$("#SomeDiv #WizardID").val()
</code></pre>

<p>I've also come across this issue with a field called "IsValid" IE6 cannot find the field at all but if i rename it "isValid" bam its found.  I suspect its a bug with jquery but doubt it will be fixed as IE6 is long past it. Thanks for the help. </p>
