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

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...