How do I make a submit button not submit?
How do I make a submit button not submit? The default value for the type attribute of button elements is “submit”. Set it to type=”button” to produce a button that doesn’t submit the form. In the words of the HTML Standard: “Does nothing.” How do you code a submit button Read more…