Re activate the parent page

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top