Answers for "onclick on the enter key function should trigger"

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 "onclick on the enter key function should trigger"

Browse Popular Code Answers by Language