Reply to Re: Submit button to also close popup form

Your name:

Reply:


Posted by Neil on 12/08/05 04:59

Thanks for the reply

I'm not real clear on how to apply this and syntax.
Would the "blaat.php" be my submit to destination on the server?

This is the OnSubmit line from my form(close_window() added):

<form onsubmit="return validate()" "close_window()" name="smsform"
id="smsform"
action="http://sms.relay.com/send/sms" method="GET">

It didn't close the window when tested. Do I need a separator between
onsubmit items, or two onSubmits?
Is close_window() a function I must create?

Do I need a <script type="text/javascript"> before your example, and
</script> after?

Thanks



"Moneypenny" <geld2008@planet.nl> wrote in message
news:43960503$0$2340$ba620dc5@text.nova.planet.nl...
> You can make a little javascript function who close the popup in 2 seconds
> afther the submit.
>
> like:
>
> <form action="blaat.php" onSubmit="close_window()">
> .......
> </form>
>
>
>
> "Neil" <nomailplease@mail.com> schreef in bericht
> news:Kjilf.15376$cR4.2209@fe03.lga...
> > Is there a way to close a popup form using the same submit button,
rather
> > than the form loosing control to the submit destination?
> >
> > Or can a submit button send my form to a URL of my choice?
> >
> > suggestions appreciated.
> >
> >
>
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация