Friday, 6 May 2016

html - Two submit buttons in one form



I have two submit buttons in a form. How do I determine which one was hit serverside?


Answer




If you give each one a name, the clicked one will be sent through as any other input.





No comments:

Post a Comment