Answers for "jquery get value from input when button is clicked"

0

how to get value of button that click on it jquery

$("button").click(function() {
    var button = $(this).val();
    alert(button);
});
Posted by: Guest on December-29-2020

Code answers related to "jquery get value from input when button is clicked"

Code answers related to "Javascript"

Browse Popular Code Answers by Language