thanks everyone for your replies
Daniel said:
window.showModalDialog(...)
window.close();
well I had tried this but it does not work..
Saravana is suggesting an article on how to close the POP UP WINDOW while I
want to close the parent (opener)
Vidur said that the opener can't be closed if you use a dialog until the
dialog closes
use window.open instead.....
I too thought that when showModalDialog is used, the parent can't be closed.
I'll need to use window.open.
But is there still a workaround to achieve it using showModalDialog?
"sramruttun" <sr********@yahoo.com> wrote in message
news:eZ**************@TK2MSFTNGP12.phx.gbl...
hi
I open a pop up window using window.showModalDialog. How can I close the
parent window after the pop up appears ?