HighDots Forums  

Close my popup form after Submit

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Close my popup form after Submit in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Camile
 
Posts: n/a

Default Close my popup form after Submit - 12-22-2005 , 11:40 AM






I'm trying to find an example I've seen previously.

Example:
Open a popup form using JS, pressing Submit submits to server script, then
using OnSubmit a close(), closes the popup.

I can't make my own syntax work.

Thank you all.



Reply With Quote
  #2  
Old   
Kimmo Laine
 
Posts: n/a

Default Re: Close my popup form after Submit - 12-22-2005 , 11:53 AM






"Camile" <nomail (AT) junk (DOT) com> kirjoitti viestissä:VxBqf.220$5R3.17 (AT) fe02 (DOT) lga...
Quote:
I'm trying to find an example I've seen previously.

Example:
Open a popup form using JS, pressing Submit submits to server script, then
using OnSubmit a close(), closes the popup.

I can't make my own syntax work.


Well what IS your syntax and what part of it doesn't work?

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <antaatulla.sikanautaa (AT) gmail (DOT) com.NOSPAM.invalid>




Reply With Quote
  #3  
Old   
phpSmurf
 
Posts: n/a

Default Re: Close my popup form after Submit - 12-24-2005 , 02:18 AM



You can try this one

function init(){
setTimeout("self.close()",1000);
}


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.