[thelist] Netscape 6 and javascript
Trent Whaley
u233 at shaw.ca
Fri Feb 6 23:26:55 CST 2004
On February 6, 2004 07:57 pm, Zhang, Lingling wrote about "[thelist] Netscape
6 and javascript":
> <SCRIPT language=JavaScript src="func.js">document.write
> document.all[id];</SCRIPT>
Yoou've told it to both load a file and take an action in the same Script Tag.
try making them seperate script tags.
Furthermore, document.all[] is only supported by Internet Explorer. Unless
you're expecting your users to still be using Internet Explorer 4, you're
better off using
document.getElementById(id)
More information about the thelist
mailing list