|
Hi everyone,
I was wondering if I can write javascript code to open a pop up window and then close close the opener window.
For example, in index.html, I have a button that opens a pop up window (popup.html), and it closes index.html in one single click.
Pls help, I've managed to do either to open using "window.open();" or to close a window "window.close();" BUT don't know how to do both.
Thanks in advance...
|
|
|
|
|
|
|
// |