Skip to content

Instantly share code, notes, and snippets.

@phenix-factory
Created October 28, 2015 10:58
Show Gist options
  • Save phenix-factory/479338354ec1491b5d02 to your computer and use it in GitHub Desktop.
Save phenix-factory/479338354ec1491b5d02 to your computer and use it in GitHub Desktop.
Bloquer les doubles envoies de formulaire.
$(function () {
$(".formulaire_nom_formulaire form").submit(function () {
$(this).find("input[type=submit]").attr("disabled", "disabled");
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment