SyntaxFix
Write A Post
Hire A Developer
Questions
$('#btn1, #btn2').click(function() { let clickedButton = $(this).attr('id'); console.log(clickedButton); });