Answers for "onclick but not on enter key"

1

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 "Assembly"

Browse Popular Code Answers by Language