File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do close mozilla window?

 
venkataraman muthuvel
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the window was not opened by JavaScript, then you can not close the window.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic