I want to be able to close the browser window using JavaScript. Is this possible?
This is the only way. In modern browsers, it works only if the current window has been opened by a script instance; otherwise, a warning dialog will be shown or nothing will happen at all.
Pekka
2010-09-04 23:19:50
In a frame, use top.close().
Zafer
2010-09-04 23:29:15