[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help, please! Ack! Oop!
Perhaps because of two things, - 1 this function would output:
<body Hello world> which may cause the broswser to barf
and also, why do it with an onLoad? just call changebg right
under the body without the onLoad (which may be the bug)
On Sun, 14 Jan 1996, Jeff Barnum wrote:
> Could somebody please let me know why Netscape 2.0b5 (Mac, 68k) insists on
> crashing whenever I include a "document.write" call? Thia simple script
> crashes Netscape every time I load it.:
> --------------------------
> <head><title>yeah</title></head>
> <body onLoad="changebg()">
> <script>
> function changebg () {
> document.write("Hello world");
> }
> </script>
> -------------------------
>
> Any thoughts, help, arghs, and chocolates would be greatly appreciated.
>
> Cheers!
>
> Jeff
>
>