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>";
}