Number input type that takes only integers? Number input type that takes only integers? jquery jquery

Number input type that takes only integers?


The best you can achieve with HTML only (documentation):

<input type="number" min="0" step="1"/>