How to refresh a parent window from the child window using javascript

Akiii
Posted by Akiii under JavaScript category on | Points: 40 | Views : 4115
Suppose you have opened a child window from a parent window and you want to refresh the parent window, how will you do that ?

Type the code in the function call:-

window.parent.document.location.reload();



The above code will refresh the parent window instantly.

Note : Also note that the child window will go away after the parent window has been refreshed !


Thanks and Regards
Akiii

Comments or Responses

Login to post response