Results 1 to 2 of 2

Thread: closing window

  1. #1
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile closing window

    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

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    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.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •