how to get value of button that click on it jquery
$("button").click(function() {
var button = $(this).val();
alert(button);
});
Are there any code examples left?
New code examples in category Javascript
$("button").click(function() {
var button = $(this).val();
alert(button);
});