Closing a browser window

Results 1 to 2 of 2

Thread: Closing a browser window

  1. #1
    Ali Guest

    Default Closing a browser window

    I am very new to JScript. I am creating a pop-up window for "Help", and do not know how to code the "Exit" button. I want the exit button to perform the same function as the X- just close the help page and take me back to the original browser page. Can anyone provide the code for this??

  2. #2
    Join Date
    Dec 1969

    Default RE: Closing a browser window

    You can assign an onClick event to a graphic button like this: onClick="top.close()" This will close the current window.

Posting Permissions

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