|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hey guys,if you could help me in this one i would be grateful!
you see,there's a form with a drop down menu and i want to use two submit buttons in order to send the value of the item that i selected from the drop down menu,to two different cgi's...the problem is that the submit buttons just can't accept different addresses... so any ideas on this one? URL ------------------ gee...... |
|
#2
|
|||
|
|||
|
I would use Javascript. Instead of using <INPUT TYPE="SUBMIT">, use <INPUT TYPE="BUTTON" ONCLICK="somejavascript()">
Then have each button call different functions (or the same function with different parameters) to either submit the form or navigate to the appropriate page by building a URL based upon the values of the form elements in which you are interested. Another alternative would be to use two or more different forms with different submit buttons for each. -TM |
|
#3
|
|||
|
|||
|
One thing you could do is make the post-URL a variable that is manipulated by javascript, just before sending.
------------------ Ramon Litjens Boradoli Web Design (www.boradoli.nl) |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > One form that includes multiple submit buttons problem... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|