Skip to content

Instantly share code, notes, and snippets.

@SergioGeeK7
Created September 27, 2013 22:16
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 SergioGeeK7/6735998 to your computer and use it in GitHub Desktop.
Save SergioGeeK7/6735998 to your computer and use it in GitHub Desktop.
From http://www.emenia.es/metodo-on-de-jquery-tutorial/ Jquery On Por lo que la forma correcta de utilizar on(). (y por supuesto off().) según jQuery es asi:
$(document).on('evento', '#elemento', (function(e) { // tu código });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment