OK...
I stand mistaken. I tried getElementsByName() in IE 5.5 and it worked perfectly when checking:
alert(document.getElementsByName("tabBody").length)
I had two divs named just like yours and it alerted 2.
In Netscape 7 pre release... I got 0. I know this is contrary to what...
use getElementById()
Not sure what this code is supposed to do... but I think it will cause an error. You have two divs with the same name. Is that legal? I didn't think you could get a .length on a div.
I have used this before...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.