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>
Printable View
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>
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.
Netscape 4 doesn't support it. And most people don't support Netscape 4 any longer. Face it, it's outdated.