press button on enter

162

press button on enter -

searchInput.onkeyup = function (e) {
    if (e.key === 'Enter') {
        searchBtn.click();
    }
}

Comments

Submit
0 Comments