SyntaxFix
Write A Post
Hire A Developer
Questions
$("button").click(function() { alert(this.id); // or alert($(this).attr('id')); });