how to get data item associated with button click in jquery code example
Example: how to get value of button that click on it jquery
$("button").click(function() {
var button = $(this).val();
alert(button);
});
$("button").click(function() {
var button = $(this).val();
alert(button);
});