javascript - Decimal point KeyPress event on Samsung Galaxy S5 not firing? -


first off, why decimal point appear on numeric keypad - on s5? don't want appear. second, , importantly, can't disable decimal entry observing keypress event, because "." not seem fire 1 on s5 4.4.2

<input type="number" placeholder="yyyy" name="year" class="char-4" inputmode="numeric" pattern="[0-9]*" data-numeric-input="" maxlength="4" max="9999"> 

http://jsfiddle.net/fv3dfeu3/2/

any ideas?


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -