|
↑ Page Details >>> Closing Windows. This set of short, easy scripts shows six different ways to close a window from JavaScript, including closing windows from a clicked link, a clicked image, or a clicked form button. Close framed pages also! Add the below code to the <body> section of your page:
Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).
→ |