Naciśnij przycisk w Enter
searchInput.onkeyup = function (e) {
if (e.key === 'Enter') {
searchBtn.click();
}
}
Arno Deceuninck
searchInput.onkeyup = function (e) {
if (e.key === 'Enter') {
searchBtn.click();
}
}
if (num == "Enter") {
this.buttonName = createButton(num);
this.buttonName.mousePressed(enterFunction);