Skip to content

Instantly share code, notes, and snippets.

@ook
Created March 9, 2012 09:11
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 ook/2005781 to your computer and use it in GitHub Desktop.
Save ook/2005781 to your computer and use it in GitHub Desktop.
Every web dev did it at least once…
function bindTheOne() {
// One checkbox to rule them all,
// One checkbox to find them,
// One checkbox to bring them all,
// And in the controller export them
// In the land of the server, where the datas lies…
$('#theOne').bind('change', function(e) {
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment