The only time you can close a window without the alert dialogues is if your
script has opened the window. If you try to close a parent window or an
unrelated window with a script, it will always present the dialogue. It's a
security thing.
Michael
At 11:49 PM 4/4/01 -0600, you wrote:
>Hello..
>I am opening new Pop up internet explorer window when user clicks next button
>of current window by using javascript function window.open() but i also wana
>to close the previous window(parent) i do it like this this.close and then
>called window.open("new window"); but when user clicks next button
>javascript's alert box pop's up asking for the confirmation of wheteher to
>close the current window or not....yes or no..
>but i don't want this i want that the window should be closed without the user
>intervention..
>
>any idea..
>paramjit singh
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets