Re: Is there a way to specify two actions on a single form.
You can just perform the 1st action and when done, change the form's
action and resubmit it with some timing in between, ->
<input type="button" value="Submit this darned thing"
setTimeout('theForm.action=\'\/cgi\/macaroni.pl\'',3000); // waits 3secs
before changing the .action property, so the codes don't conflict
setTimeout('theForm.submit()',5000; // 2secs after the .action property
has been changed, it submits it
"Mayuresh" <email@example.com> wrote in message
> I need some help with forms. I need to perform two actions when the html
> form is submitted,
> 2. e-mail the form data (done by a cgi script)
> Is there a way I can have the form perform these two actions with a single
> click on the submit button.?
> Thanks for the help.
Is there a way to specify two actions on a single form.
I need some help with forms. I need to perform two actions when the html
form is submitted,
2. e-mail the form data (done by a cgi script)
Is there a way I can have the form perform these two actions with a single
click on the submit button.?
Thanks for the help.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL