Quick question:
I have a form -- on submit it opens a pop-up window.
The pop-up opens on submit.
After submitting, the main windows goes throught a series of re-directs and finally displays a page. At this point the pop-up is still visible.
I am trying to close the pop-up after the re-directs.
However, I am getting a javascript error saying that it cannot recognize the name.
Here is what I'm using to create pop-up:
And to close it after re-direct:
Are you not able to close a named pop-up after a re-direct?
Thanks in advance.
I have a form -- on submit it opens a pop-up window.
The pop-up opens on submit.
After submitting, the main windows goes throught a series of re-directs and finally displays a page. At this point the pop-up is still visible.
I am trying to close the pop-up after the re-directs.
However, I am getting a javascript error saying that it cannot recognize the name.
Here is what I'm using to create pop-up:
Code:
my_window = window.open("",
"mywindow","status=1,width=350,height=150");
And to close it after re-direct:
Code:
my_window.close ();
Are you not able to close a named pop-up after a re-direct?
Thanks in advance.