Answers for "how to ability button with enter"

1

press button on enter

searchInput.onkeyup = function (e) {
    if (e.key === 'Enter') {
        searchBtn.click();
    }
}
Posted by: Guest on March-11-2021

Code answers related to "how to ability button with enter"

Code answers related to "Assembly"

Browse Popular Code Answers by Language