This topic is locked

Close advanced lay popup on submit

Posted 17 Oct 2010 03:55:34
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?



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.("\";";

This will effectively close the popup by refreshing the underlying page.

Reply to this topic