hey all,
I open a popup from a firefox extension with window.open(myurl).
The content of the popup is a regular form with a text_field to fill.
Is there a way to automatically close the popup after the user click
the form’s submit button?
thanx in advance
Pat
window.close(); ?
I personally use a button type input and add an onclick handler to do
stuff. If the form looks good I then do a document.forms[0].submit()
and then window.close().
Hope this helps!
Shawn
Patrick A. wrote:
hey all,
I open a popup from a firefox extension with window.open(myurl).
The content of the popup is a regular form with a text_field to fill.
Is there a way to automatically close the popup after the user click
the form’s submit button?
thanx in advance
Pat