Thursday, October 18, 2007
To refresh Parent Window from Pop Up Window
Sometimes it is required to refresh your Parent Window through Child Window, Here is a small piece of java script code which will solve your problem.
window.opener.location.reload();
Put this code in any function of Child Window. When that function is called parent window will be reloaded.
Subscribe to:
Post Comments (Atom)
2 comments:
Thaaaaaaaaanx...! It works!
Before using this, I used "window.opener.document.forms.submit();".
that also works properly in IE. But not in Firefox,Mac-Safari.
This works in IE6,IE7,Firefox and in Mac-Safari browsers.
Welcome.
Post a Comment