I am using Thickbox 3.1 for a login form, using the iframe version.
I want to close the iframe (child) window, then refresh the parent window.
This closes the iframe window, but I need to somehow set it to refresh the parent window
<a href="#" onclick="self.parent.tb_remove();">Close</a>
Any help is appreciated.
This should do it:
<a href="#" onclick="self.parent.tb_remove(); window.location.reload()">Close</a>
Edit: Maybe that should be:
self.parent.location.reload()
?