I know this isn’t really how <button> elements are supposed to be used, but is there a way to submit a form using buttons instead of <input type="submit">? I need to have buttons with two lines, and you can’t do that with <input>s, but you can with <button>s.
Some jQuery method or something would work fine, I just hate having to use background images for these buttons.
You can have a
buttontag submit a form, like so:Also, I believe the default varies per browser so I think a
buttontag should always have atypeattribute just to be safe.