Welcome visitor
* Login
* Register
It is currently May 19th, 2019, 8:23 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  close window after alert
PostPosted: July 30th, 2009, 11:15 pm 
User avatar

Posts: 34
what can i do to close the current window after the user clicks ok on the alert window?


alert('the window will be closed');


Top
 Profile  
 
  Re: close window after alert
PostPosted: July 30th, 2009, 11:59 pm 
User avatar

Posts: 61
<input type="button" value=" close" 
onclick="alert('the window will be closed'); window.close();" />


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron