Answers for "enter on input to click on button"

0

button onclick enter key

$("#id_of_textbox").keyup(function(event) {
    if (event.keyCode === 13) {
        $("#id_of_button").click();
    }
});
Posted by: Guest on June-01-2021

Code answers related to "enter on input to click on button"

Browse Popular Code Answers by Language