Drücken Sie die Taste Eingabetaste
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);