I have a particular problem where I need to have one form perform two
actions. Can you just have 2 actions in the action parameter ("action =
...blahblah.asp, ...yaddayadda.jsp") or is there some way to add the
second action in the onsubmit command? Any suggestions on this would be
greatly appreciated. Thanks
David Dorward - 31 Jul 2006 18:50 GMT
> I have a particular problem where I need to have one form perform two
> actions.
Edit your server side script so that it does both things you want it to do
with the data.

Signature
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Paul - 31 Jul 2006 18:57 GMT
> I have a particular problem where I need to have one form perform two
> actions. Can you just have 2 actions in the action parameter ("action =
> ...blahblah.asp, ...yaddayadda.jsp") or is there some way to add the
> second action in the onsubmit command? Any suggestions on this would be
> greatly appreciated. Thanks
If you could then the browser would be sending two GET or POST
requests. Which response should the browser use?
The best bet is to have your server side code execute whatever needs to
be executed.