Refresh Parent page using JavaScript
Jun 25th, 2009 | By admin | Category: Java ScriptMany times we use javaScript Window.open() method to open a new window. Often we do some kind of form processing in the new window opened by Window.open(). If the requirement is to refresh the parent page based on some action happen in the new window use the javaScript reload method to do that. The method would reload the full document for you.
The syntax to refresh the parent window is ,
window.opener.location.reload(true);
This small code is very useful when you try to reflect your changes in parent window on change of anything in your child(opened) window.
I would like to request you all to share other mechanisms to refresh the window using javaScript.
