|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
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
|
|||
|
|||
|
I have a form in which a number of buttons are used instead of submit buttons because the form is sent through a script to validate it first before actually submitting.
Everything on the form submits correctly except for the buttons themselves. If I change the input type to submit the form works correctly except it actually submits the form when it shouldn't. Is there some reason the value of the buttons clicked don't submit? |
|
#2
|
||||
|
||||
|
Q: What happens when a user has Javascript disabled?
A: Your form won't work... but aside from that... perhaps if you present us with some of your code we would better understand the problem... remember, please use [code]...[/code] tags to wrap around your code when you're posting. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Javascript preventing the value of a button from being submitted? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|