Forums

PHP

This topic is locked

Advanced Layer Pop-up Close window

Posted 17 Oct 2010 03:57:55
1
has voted
17 Oct 2010 03:57:55 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:35:35
09 May 2013 18:35:35 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.

Reply to this topic