Close PopUp after alert OK
Posted: Sun Oct 09, 2005 1:58 am
Hello All,
How could I close a popup window after the user has clicked OK from an alert?
The window opens from the user clicking update in the popup window.
TIA, Will.
How could I close a popup window after the user has clicked OK from an alert?
The window opens from the user clicking update in the popup window.
Code: Select all
function updatedPopUp() {
echo "<script type=\"text/javascript\" onclick=\"window.close()\">alert('Summary updated! Thank You.')</script>";
}