Link to home
Start Free TrialLog in
Avatar of javierfh
javierfh

asked on

Refresh from pop up the page opener in ASP

I have a main page and it open a pop up window. But when close the pop up it send to refresh a main page.

I use this commands from pop up:

window.opener.location.href = window.opener.location.href;
 window.opener.location.reload();

It working but some time it does not refresh the main page.

If you have any advise.
We appreciate you help
Thanks
ASKER CERTIFIED SOLUTION
Avatar of pateljitu
pateljitu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of javierfh
javierfh

ASKER

Nobody sent me solution I still have problem.
From my last response:
Could you please provide with code to help you with the issue and are you using FRAME in your code.
function submitForm()
{
                  
            document.saving.submit();
            window.opener.location.href = window.opener.location.href;
             window.opener.location.reload(true);


            window.close();
            


}