[thelist] How do I submit a single form thru either of two links using JavaScript AND pass a hidden value depending on the link?

Christian Heilmann codepo8 at gmail.com
Wed Apr 20 11:54:37 CDT 2005


> Hello friends,
> 
> I have a form that is submitted using JavaScript. There are two links
> that can submit the form but I want an additional hidden value
> returned to the server depending on which link was clicked. Like this:

Don't rely on JavaScript, you can do this on the server side:
http://www.onlinetools.org/tricks/using_two_submit_buttons.php


-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/


More information about the thelist mailing list