javascript refreshing parent window in child
currently have a program which runs in this sequence....
main window calls a popup window.. in the popup will process n update.
how can i set to close the window with <a href="javascript:refreshparent(...)">close me </a>
wanted to refresh the parent and close the child window. i got some code from google search but it doesnt seems to work :(
thanks in advance.
Re: javascript refreshing parent window in child
Just add self.close() to your href attribute.
Code:
<a href="javascript:refreshparent(...);self.close()">close me </a>
Re: javascript refreshing parent window in child