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 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts