All Buttons Are Submitting Form

Posted by Weston Ganger

All buttons in forms default to type="submit"

To make buttons in your form that dont submit the form such as a cancel button add type="button":

  <button type="button"> Cancel </button>
  <button> Submit </button>

Article Topic:Software Development - HTML / CSS

Date:August 20, 2014

Recommended Posts



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected