Re: Having trouble in Netscape with JavaScript function...

by "Cyanide _7" <leo7278(at)hotmail.com>

 Date:  Mon, 24 Apr 2000 23:09:17 CDT
 To:  cmonroe11(at)mediaone.net
 Cc:  hwg-languages(at)hwg.org
  todo: View Thread, Original
really simple problem here. basically, onClick your determining what HTML to 
output to the browser. this call to document.write automatically opens a new 
write stream. the reason the browser "hangs" is because you haven't closed 
the stream! its awaiting more code before it finalizes the document. just 
add a document.close(); after all the write statements. - Cyanide_7

>
>I am creating a form which compares the number entered by a user and points
>the user to a
>link depending on which range the number falls.
>
>I thought I had the core of it down, but when attempting to use the form in
>Netscape (4.72)
>The form kind of "hangs" and returns nothing...
>
>The form can be found 
>at:http://www.msbwebdesign.com/downloadwithscript.html
>
>I am somewhat new to this...please be kind.
>
>Thanks in Advance
>
>
>Craig
>cmonroe11(at)mediaone.net
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA