PDA

Click to See Complete Forum and Search --> : document.getElementsById


Dorothy
Sep 10th, 2004, 01:20 PM
what is Netscape 4.7's equivalent of:

var obj = document.getElementsById("IDname");

I need this to set a text to a td:
<td id="IDname"></td>

Acidic
Sep 10th, 2004, 03:00 PM
It is document.getElementById(id). not document.getElements ById. This should work accross the board. If it doesn't then don't bother with that browser.

CornedBee
Sep 11th, 2004, 01:53 AM
Netscape 4 doesn't support it. And most people don't support Netscape 4 any longer. Face it, it's outdated.