Welcome visitor
* Login
* Register
It is currently May 20th, 2019, 6:31 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 & refresh
PostPosted: April 21st, 2009, 12:13 am 

Posts: 65
Hello, im using javascript to open a popup window. Now,can you help me with the code to close this popup and at the same time refresh its parent window?
thanks..


Top
 Profile  
 
  Re: close & refresh
PostPosted: April 21st, 2009, 1:08 am 
User avatar

Posts: 136
use this in the popup
<script type="text/javascript">
function closes(){
window.opener.open('http://www.address.com', '_self');
window.close();}
</script>


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