|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Find out which submit was pressed
I have a form with several submit input buttons. Is there a way to know, from inside my Java Script form validation function, which was the submit button the user pressed?
Thanks Francesco |
|
#2
|
|||
|
|||
|
give them a id each, then you can create a function when the submit is clicked, it notifies the java
onClick="val var = this.id_name.value;" then the var value is = to the id name. simple |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Find out which submit was pressed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|