Re: getElementByName within containing DIV



George Maicovschi <georgemaicovschi@xxxxxxxxx> writes:

Try assigning a name to the DIV element and use the DOM syntax to
access elements by their name like:

document.body.div_name.inputbox ...

It should work...shouldn't it? I'm curious if it works, if you try it,
tell me :-)

I shouldn't. For a couple of obvious reasons, one being that names
aren't guaranteed to be unique.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
.