Answers for "trigger onclick button function when key enter in Javascript"

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 "trigger onclick button function when key enter in Javascript"

Browse Popular Code Answers by Language