Skip to content

Instantly share code, notes, and snippets.

@tomotaka
Created July 11, 2013 09:31
Show Gist options
  • Save tomotaka/5974002 to your computer and use it in GitHub Desktop.
Save tomotaka/5974002 to your computer and use it in GitHub Desktop.
jQuery click handler
$("#tagid").click(function(){
var someAttr = $(this).attr("data-hoge-fuga");
// do something
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment