Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery on click get element

$(document).on("click",".appDetails", function () {
   var clickedBtnID = $(this).attr('id'); // or var clickedBtnID = this.id
   alert('you clicked on button #' + clickedBtnID);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #click #element
ADD COMMENT
Topic
Name
2+8 =