Keeping child window open after opener.document.location.reload()

J

js

I have a window (Window1) opens a child window (Window2) via client
side javascript. In Window2, when certain condition met I use
opner.document.location.reload() to reload Window1. All is well,
except that when the Window1 is reloaded, Window2 will be closed. Is
there a way to keep Window2 to open and just reload Window1? The
following is my code.

function doRefreshParent()
{
if (thisForm.Abandon)
opener.document.location.reload();
}
 

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

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top