Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to know which button is clicked in jquery

$("button").click(function(e){
    var idClicked = e.target.id;
});
 
PREVIOUS NEXT
Tagged: #button #clicked #jquery
ADD COMMENT
Topic
Name
7+8 =