[javascript] Appearance of Form Elements

Chris Basken chriz at basken.com
Fri Mar 16 15:55:30 CST 2001


for NS6, you can do this:

document.all = document.getElementsByTagName("*");

this "enables" 'document.all' for NS, so you can reuse a lot of IE code.


>
> Hi Guys,
>
> Thanks for all the help. I must agree with Chris and Ben, NS6 is
> a bit of a
> nightmare. The DOM is treated differently in some ways, and as NS6 doesn't
> identify any code using document.all or document.layers, you have to now
> take into account the NS6 version, which is document.getelementbyid. You
> think someone would have sat down and made it easier for developers, and
> kept some consistency.....but that would have been to sensible
> wouldn't it.
>
> Cheers,
> Alan...
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>





More information about the Javascript mailing list