New Response

« Return to the main article

You are replying to:

  1. I used setTimeout(window.close, 5000) into my Thank you form's (Notes) OnLoad event to automatically close it after the user submits the document. The code was taken based on the given link, http://javascript.internet.com/navigation/close-window.html.

    I get the fatal error in IE 5.00.3105 and it closes all of my IE window when the code is executed. "The instruction at "0x70cb1d8f" referenced memory at "0x00000000". The memory could not be "read".

    Any idea on this?

    Also, how do I avoid the close prompt. I am opening this new window using Notes' Command, Compose. I see that the prompt will not appear if the new window is opened using JS. But I need to enherit values from the previous win.

    Thanks for any info.

Your Comments