|
Posted by Thomas 'PointedEars' Lahn on March 31, 2006, 2:53 pm
Please log in for more thread options
Mark wrote:
> I have a link on Parent.html which brings up Child.html in a separate
> browser window. Child.html has a button with Javascript to close
> itself. Is there a way I can cause Parent.html to be refreshed/reloaded
> after Child.html is closed?
No. But you can refresh/reload it before or when the window displaying
Child.html is closed.
if (window.opener && !window.opener.closed)
{
// or whatever you call refresh/reload
window.opener.location.reload();
}
window.close();
> I don't care if it can be done in HTML, Javascript or PHP, just so it
> can be done. [...]
You are mixing up things. HTML is a markup language, J(ava)Script and PHP
are programming languages. You need a programming language to do this.
BTW, PHP is on topic in comp.lang.php, not in ciwa._html_. The appropriate
newsgroup for this unspecified a question would have been only
comp.infosystems.www.authoring.misc.
F'up2 cljs
PointedEars
|