Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear sir,
I am using iframe to open a modal popup inside .aspx page. I want to close child popup through java script . After closing child popup it will automatically refresh the parent page.
Posted
Comments
jaket-cp 29-Jan-15 8:35am    
window.opener could be what you are looking for.
https://developer.mozilla.org/en-US/docs/Web/API/Window.opener
http://www.w3schools.com/jsref/prop_win_opener.asp

1 solution

 
Share this answer
 
Comments
sanjay acharya 2-Feb-15 1:56am    
I am using iframe istead of windows.open .I want not to use window.opener.location.href.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900