javascript thread: SV: how can close the window.
You can close small windows that have been opened by the main window.
Then you just use this code: window.close(); in the small window. Like
this, for example:
<input type=3D"button" value=3D"Close this window"
onClick=3D"window.close()">
But you're not allowed to close the main window without getting the
message (for security reasons).
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: yohomonkey [mailto:yohohuangtao0425@s...]
Skickat: den 29 november 2002 02:30
Till: javascript
=C4mne: [javascript] how can close the window.
how can close the window,and not alert the ie confirm!
thanks all!