Posted: Tue Aug 09, 2005 6:49 pm
I'm not sure I understand the question. All browsers make use of id depending on how you are using it.
I was stating above that IE will use the name of an element as an id if you make a call to an id that isn't there.
Ex:
I was stating above that IE will use the name of an element as an id if you make a call to an id that isn't there.
Ex:
Code: Select all
<div name="name">
document.getElementById("name").innerHTML = 'hi';
// IE will go ahead and execute this although the element clearly does
// NOT have an id. It will use the name of the element. Browsers like
// mozilla firefox, opera, and netscape will not.