PDA

View Full Version : closing window



manoj22184
10-08-2008, 11:20 AM
HI,

i want to close window for this i done something like windows.close() ut this working in IE and i want to implement in Mozilla and Netscape can anyone help me on this.



Thanks,

Manoj

rangana
10-09-2008, 12:58 AM
You cannot close a window, unless it was opened by a script (window.open())

For further reading:
http://developer.mozilla.org/En/DOM:window.close

Hope that makes sense.