homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

How to close a window?

 3:46 pm on Jul 30, 2001 (gmt 0)

How do I close a window?
Like , let's say we have a pop-up window that has a sign-up for a mailing list. The person ads there e-mail to it and once they click submit I want the window to close. Or I want it to say thanks and have a delayed process, then after let's say 5 seconds, close.

Thanks advance



 3:48 pm on Jul 30, 2001 (gmt 0)

using JavaScript the window.close() method can close a window. However, if the window was not initially opened by JavaScript then the browser will warn the user and prompt them to confirm the window closure.


 6:40 pm on Jul 30, 2001 (gmt 0)

Got it,

Thanks ;)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved