By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,180 Members | 1,051 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,180 IT Pros & Developers. It's quick & easy.

Need script ot open a popup window - and reload original page

P: n/a
GD
I need a script to open a popup window which contains a php form.
after the form has been submitted or cancelled i need to go back to
the originated page (php also) and reload original page.

do you guys have any simple solutions?

thanks in advance,

GD
Jul 3 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
GD
sorry about responding to myself, but i found a solution:

<script language="JavaScript">
<!--
function refreshParent() {
window.opener.location.href = window.opener.location.href;

if (window.opener.progressWindow)

{
window.opener.progressWindow.close()
}
window.close();
}
//-->
</script>

thanks,
GD
Jul 4 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.