"Disco" <discooctopus (AT) yahoo (DOT) com> wrote in news:86h5b.1025$U74.61328
@news.optus.net.au:
Quote:
Hi,
Does anybody know how to make this piece of javascript (below) work in
netscape? This only works in IE (I have only tried 5.5 and 6). I would
like to know how to make this work exactly the same way in Netscape.
Thanks very much... |
use document.getElementById(pTable) instead of document.all[pTable]
document.all is microsoft specific and document.getElementById is the
standards way supported by modern browsers. IE4, I believe, is the only
browser that supports document.all but not document.getElementById.
--
In theory there is no difference between theory and practice. In practice
there is. - YB