I'm trying to have a clear button inside a html form, but it appears to automatically submit. How do I work around this?
I feel like I am missing something obvious.
Thank you, I have a working answer ... so now I'm just curious. Is there any reason to use the button element in a form, or any reason not to?