T
toufik toufik
Hi,
I'm using javascript to open a popUp window where the user fill a textBox
and clic on a button taht call a javascript function
The problem is that after this I can't return to the parent window, the new
pages still be displayed in the child window
I've tried focus but doen't do the job
here is the function called by the button of the child form
function sendEmailExecute()
{
if (opener == null) opener = self;
opener.focus();
//window.close(); // I desactivated this to see that the display is done in
the chid window
document.forms[0].action="newpage.php";
document.forms[0].submit();
}
I need that newpage.php works on the parent window, thanks for your help.
I'm using javascript to open a popUp window where the user fill a textBox
and clic on a button taht call a javascript function
The problem is that after this I can't return to the parent window, the new
pages still be displayed in the child window
I've tried focus but doen't do the job
here is the function called by the button of the child form
function sendEmailExecute()
{
if (opener == null) opener = self;
opener.focus();
//window.close(); // I desactivated this to see that the display is done in
the chid window
document.forms[0].action="newpage.php";
document.forms[0].submit();
}
I need that newpage.php works on the parent window, thanks for your help.