Html css

All Buttons Are Submitting Form

Posted by Weston Ganger on August 20, 2014

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>

Posted in HTML / CSS and Tagged with submit form 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts