Skip to content

Instantly share code, notes, and snippets.

@brailateo
Created July 16, 2013 22:10
Show Gist options
  • Save brailateo/6015629 to your computer and use it in GitHub Desktop.
Save brailateo/6015629 to your computer and use it in GitHub Desktop.
jQuery: Bind pe un buton pentru lansarea o singură dată a unei proceduri ("Salvare document", "Abandon")
$('#btnSalvare').one("click", function() {
// chestii ... salvare, etc
// va fi apelat o singură dată, dublu-click nu merge
...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment