I ran into a problem with the jquery-masked-input v1.4 plugin.
I have an input field:
<input type="text" id="phone" placeholder="(999) 999-9999" />
and applied a mask to it:
<script> $("#phone").mask("(999) 999-9999"); </script>
It works great on all devices, ranging from desktop computers, mobile phones (all iphones, androids), with the exception of Samsung Android devices.
What does he do on these devices, when I try to enter numbers, he will enter only one number and the text keyboard will immediately open. Then, when I try to enter the numbers again, it will not display correctly. For example.
I want to enter: (989) 942-0827 What I get: (898) ___-__ 9
and the text keyboard continues to open when I try to enter numbers.
Please suggest any workaround. Thanks in advance.
jquery android html input jquery-mask
Abhishek thakur
source share