I would like to prevent e
and .
to be type in an <input type="number"/>
. Without jQuery or using step
attribute.
I've tried with pattern="[0-9]"
but it's not working.
EDIT :
On focus the keyboard should be a digit keyboard.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…