Rather embarassing it is for me to ask the following question, since i have been doing forms and javascript for a long time. But here it is:

I need a Javascript command that closes the window after the user submits the from data?

The User hits Submit and the Window closes.


Thanks for the help.