Try using document.getElementByID
Paul Jonsen
http://www.frogs-leap.demon.co.uk
-----Original Message-----
From: Julian Sinclair [mailto:j.sinclair@f...]
Sent: 24 September 2001 14:47
To: javascript
Subject: [javascript] Netscape 6
I am trying to reference various <DIV> elements in a page I am writing and
am having some troubles with netscape 4 seemingly deciding at random which
ones it recognises and which it doesn't using document.layers, but that is
another story. My main problem is how to access the <DIV> elements in
netscape 6 as it does not seem to recognise document.layers or document.all.
Is there another way of doing this or am I just going mad ?
Julian