Forums
This topic is locked
Close advanced lay popup on submit
Posted 17 Oct 2010 03:55:34
1
has voted
17 Oct 2010 03:55:34 nick Jewett posted:
I would like to put a form into an advanced layer pop up and have the window close and have the parent page refresh when I click the submit button.Can I do this using Advanced Layer Popup?
Nick
Replies
Replied 09 May 2013 18:36:54
09 May 2013 18:36:54 Jim Elliott replied:
Yes. After the code to update\insert put this (this is PHP):
$refreshpage = "What ever you page name and parameters";
echo("<script language=\"javascript\">";
echo("top.location.href = \" ".$refreshpage.("\";";
echo("</script>";
This will effectively close the popup by refreshing the underlying page.
$refreshpage = "What ever you page name and parameters";
echo("<script language=\"javascript\">";
echo("top.location.href = \" ".$refreshpage.("\";";
echo("</script>";
This will effectively close the popup by refreshing the underlying page.