wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes how do close mozilla window? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how do close mozilla window?" Watch "how do close mozilla window?" New topic
Author

how do close mozilla window?

venkataraman muthuvel
Greenhorn

Joined: Jan 28, 2004
Posts: 22
hi all
i able to close browser window by using javascript
this code working fine in IE (<a href="javascript:window.close()">close</a>
but the above code note working mozilla ,anybody know help me
regards
venkat
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If the window was not opened by JavaScript, then you can not close the window.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how do close mozilla window?
 
Similar Threads
Invent your own html tag
can't get my child window to close and reload the parent.
problem with self.close()
to close an opener
Closing the window.