1. you have the main window.
2. user clicks ADD, new windows pops up
3. user enters data into the new window, submits
4. action.php updates database and outputs:
document.window.opener.reload()
self.close();
Close this window and reoad the main window
to
This does not work, when I replace my header function with:
elseif (isset($_POST['btnSave']))
{
.. database update, then...
$ostr = <<< OUTPUT;
document.window.opener.reload()
self.parent.close();
OUTPUT;
echo $ostr;
//header("Locati
Output from action.php:
opener.location.reload();
close();
Rich Fox wrote:
Warning for server side purists: My php scripts use javascript to popup and
close windows. So this question, although posted to a php newsgroup, has
elements of javascript too. Gasp! No flames please.
I have a main window
Warning for server side purists: My php scripts use javascript to popup and
close windows. So this question, although posted to a php newsgroup, has
elements of javascript too. Gasp! No flames please.
I have a main window which I will refer to as mainwindow
(window.name='mainwindow' in the onload
4 matches
Mail list logo