Skip to content

Instantly share code, notes, and snippets.

@alindeman
Created January 15, 2011 20:33
Show Gist options
  • Select an option

  • Save alindeman/781218 to your computer and use it in GitHub Desktop.

Select an option

Save alindeman/781218 to your computer and use it in GitHub Desktop.
$(function() {
// This happens when the DOM is ready
$('#my_button').bind('click', function(e) {
alert('omg it worked');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment