Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / July 2006



Tip: Looking for answers? Try searching our database.

onsubmit - multiple actions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jimfromsd@san.rr.com - 31 Jul 2006 18:46 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
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.