Skip to content

Instantly share code, notes, and snippets.

@danmatthews
Created November 10, 2011 11:30
Show Gist options
  • Save danmatthews/1354655 to your computer and use it in GitHub Desktop.
Save danmatthews/1354655 to your computer and use it in GitHub Desktop.
$('#item').die('click').live('click', function() {
// The code in this block will only attach ONCE.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment