On 22 Apr 2007, at 16:28:16, Patrick H. Lauke wrote:

Nick Fitzsimons wrote:

Despite Internet Explorer's inexplicable belief to the contrary, "id" and "name" are not the same thing.

Care to elaborate on what the issues in IE are?


Using getElementById(someValue) on IE will return an element that has a name attribute equal to someValue.

If, for example, you have:

<input name="fred">
<p id="fred">Blah</p>

then document.getElementById("fred") will return the input, not the paragraph.

Regards,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to