[thelist] Submit a form and shut the window

Jay Blanchard jay.blanchard at niicommunications.com
Tue Feb 1 15:35:13 CST 2005


[snip]
I have a form in a little window, and it's supposed to update in the 
main window.  I guess I can do that using JavaScript: the form action 
is the main page with a TARGET of the main window.

But that will leave the little window floating around.  Is there any 
way I can get the little b**tard to commit suicide once its work is 
done?
[/snip]

You need to use a variation of this....

<!-- now that we have done everything else, close this window -->
onCLick="javascript:window.close();"



More information about the thelist mailing list