Sometimes we need to force parent refresh on closing pop-up window which was opened from this parent window. There are many ways to make it work, however the most elegant way will be using location.href
function Refresh(){window.opener.location.href = window.opener.location.href;window.close();}
No comments:
Post a Comment