id="length" won't work either, because of that node mapping, it will bug.
document.forms[0].length ?!?! got it? Fábio Miranda Costa Engenheiro de Computação http://meiocodigo.com On Tue, Apr 14, 2009 at 7:31 AM, Dimitar Christoff <[email protected]>wrote: > > > I am not sure if (1) is a big deal since they are treated as strings. i > > oh, i thought it mattered for IE, the rule of thumb is to steer clear of > ids like name, description, title etc. > > for instance, <textarea name="description" id="description"></textarea> > in a doc with a <meta name="description" >, > document.getElementById("description") won't reference the textarea in > IE, if i remember correctly. > > hth, > Dimitar > >
