On 7/2/07, Jeffrey Barke <jeffrey.barke at themechanism.com> wrote: > Lee, > > >>> <div id="EX_AATD" class="hiding"><label> <input type="checkbox" > >>> name="EX_AATD">Item 1</label></div> > >> The div has the same id as the checkbox has name. This is bad, > >> because IE returns an element with a name attribute that is equal to > >> the id specified. > > > > Not when using getElement(s)By* it doesn't... > > Possibly I wasn't clear and maybe I'm misunderstanding you, but > document.getElementById may return an element with a name attribute > equal to the id specified in IE and Opera. > See <http://www.quirksmode.org/bugreports/archives/2005/09/ > documentgetElementById_may_return_element_with_a_n.html> > and <http://www.csb7.com/test/ie_getelementbyid_bug/index.php> True, I'm experiencing some weird things that might be related to that. I'll watch out. Thank you, -- Eduardo Bacchi Kienetz LPI Certified - Level 2 http://www.noticiaslinux.com.br/eduardo/