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

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -