Numer wejściowy HTML Brak symbolu zapisu
<input type="number" onkeydown="javascript: return ['Backspace','Delete','ArrowLeft','ArrowRight'].includes(event.code) ? true : !isNaN(Number(event.key)) && event.code!=='Space'" />
Run code snippetHide results
Weary Wildebeest