get value of clicked element 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);
});