onsubmit - multiple actions

J

jimfromsd

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
 
D

David Dorward

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.
 
P

Paul

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top