User Id :    Password :      New Member   Forgot Password  
 
Refresh parent window after closing pop up window through Java Script
Description You can use this JS code to close the child window and then refresh the parent window.   No. of Views     1230
  Rating     0
Author Sumit Gupta   Posted On     22 Mar 2011
Tags Java Script    

Sample Code   Download Code

window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
} 

 

About Author

About Author I am Sumit Gupta working in 3 Pillar Global Pvt. Ltd as Module Lead. I have 7+ year of experience in .Net technologies. I love to explore new technologies and write technical article. Sumit Gupta
No Photo
 
Country India
Company 3 Pillar Global Pvt. Ltd.
Home Page http://www.facebook.com/sumitgupta1225

Rate this article

Rating options from poor, fair, good, very good to excelent.  
 

Comments

 
 
Posted By Deep on 08 Apr 2011 at 05:01 AM
 
hmmm if u want redirect to parent or other page with cs page's event you can try this too Response.Write("");
 
 
   
Write your comment here.
Comment
Verification Code