Back
I have two submit buttons in a form. How do I determine which one was hit serverside?
If you are giving each one a name, then the clicked one will be sent through like any other input.
Example:
<input type="submit" name="button_1" value="Click me">
31k questions
32.8k answers
501 comments
693 users