Close browser window

Results 1 to 2 of 2

Thread: Close browser window

  1. #1
    Join Date
    Dec 1969

    Default Close browser window

    Hi,<BR> I&#039;m looking for a script to close a browser window on a mouse click.<BR> Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: Close browser window

    The function is simple<BR>window.close()<BR><BR>How you trigger it is up to you. If you want to capture any mouse click anywhere on the page you have to event trap. If you are looking at a specific button or field just add to the tag:<BR>OnClick="javascript:window.close()"<BR>

Posting Permissions

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