By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,711 Members | 2,144 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,711 IT Pros & Developers. It's quick & easy.

onsubmit - multiple actions

P: n/a
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

Jul 31 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
ji*******@san.rr.com wrote:
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.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 31 '06 #2

P: n/a

ji*******@san.rr.com wrote:
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.

Jul 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.