Hi I have used the masked input plugin click for my website to format the phone number which is entered by the user I am using the format as (123) 456-7890
its working fine with PC's but when I browse the site with android devices and enter the phone number as 1234567890
its order is getting changed as (213) 456-7890
or any random order automatically.
You can see this issue in their demo site itself here is the link In the goto demo tab next to usage tab.
can anyone suggest me a solution for the same.
I resolved this issue with three actions, which have fixed this for all Android 4.0+ phones:
type="tel"
to the input, to trigger the phone keypadmaxlength
attribute or set it to a value certain not to interfere with the caret action, like 20
.