Skip to content

Instantly share code, notes, and snippets.

@phenix-factory
Last active December 16, 2015 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phenix-factory/5370955 to your computer and use it in GitHub Desktop.
Save phenix-factory/5370955 to your computer and use it in GitHub Desktop.
jQuery: soumettre une formulaire via un événement click
// Quand on click sur le bouton de recherche
$("#bouton_recherche").click(function () {
// On soumet le formulaire
$("#form_recherche").submit();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment