|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a need to create a login window, and when/if the user has logged in, I want to destroy that window, then create another browser window with different characteristics, and destroy the original one that had the username/password code.
That part isn't so bad, but the problem I have is that the browser asks me are-you-sure-you-want-to-close-the window when I try to do the self.close(). Is there a work-around? I don't want the user to get the chance to even answer this question. David |
|
#2
|
|||
|
|||
|
The browser ask you this question only for the first opened window (the window opened by the user).
All windows opened with javascript will close without asking. KliK |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > is there a way to close window w/o asking Are You Sure? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|