Do yourself a big favor… and by ‘yourself’ I mean ‘myself’, and by favor I mean…
When you put a<button> tag on an html document. ALWAYS set the type attribute to ‘button’.
<button type=”button”>Click Me!</button>
So basic, yet it still bites me, even after all these years.