Skip to content
jQuery plugin to make a link submit the form. (Also bind <enter> on inputs to submit)
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
jquery-submito.js
readme

readme

  Submito (Pronounced sub-mi-toh)
  Make it possible to submit a form by clicking on a link or pressing <enter>.
 
  // A click on .my_link will submit the form
  $('.my_link').submito() 
 
  // Options
  form: The form to use. (By default, the first <form> parents to the link is used)
 
  Example:
   
  // A click on .my_link will submit the '#wizard form'
  // Also, any input field in the form will trigger the submit on <enter> key press.
  $('.my_link').submito({
      form: $('#wizard form')
  });
Something went wrong with that request. Please try again.