Answers for "clcik a button on enter key press"

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

Browse Popular Code Answers by Language