Parent window refresh in javascript


To refresh the parent window with close of pop window use,
window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}

Comments

Popular posts from this blog

111 Most Useful Websites on the Internet

How to call php functions inside smarty template directly

How to improve PHP web performance