>Does anyone know how to eliminate the message "The web page you are viewing is trying to close the window. Do you want to close the window?" when you move from one page to another. There are certain times when I don't want a user to go back to a page because of the choices they have made. In those cases, I've tried calling the new window (window.open mynewurl) followed by a parent.close command. If I do so, the message above appears on some user machines (not all...)
>
>Is there a better way to close the window? Is there a way to eliminate that message? Any clues would be appreciated.
>
>TIA,
I don't think that's possible. You can only close child windows that you have created with script without the message.
See this MSDN article for ideas on "disabling" the backing of the user to a previous page:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dn_voices_webmen/html/webteam07032000.aspMaybe a combination of the two would work for you. IOW, if the user chooses not to close the window you will have another option with the techniques on the article.HTH