+ 2
Input type button and submit
what is the difference between <input type="button"> and <input type="submit"> or are they just the same?
2 odpowiedzi
+ 4
type=submit submits the form and type=button does not.
https://stackoverflow.com/questions/290215/difference-between-input-type-button-and-input-type-submit
+ 3
A submit button is the default event trigger for a HTML form submission, you don't need to code anything to have it tell the form to submit its data. A button may require a code dedicated to have it perform a certain action.