Answers for "submit when enter pressed"

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 "submit when enter pressed"

Code answers related to "Assembly"

Browse Popular Code Answers by Language