form not submitting on button click code example Example: make html button not submit <button type="button">My Button</button>