digitalBush/jquery.maskedinput — Issue #74: Appending Numbers to end in Phone Mask - When get focused
Author: Lilanga
Created: 2012-02-22 06:56:16+00:00
State: open

add a mask to text box using ".mask("?(999) 999-9999 ext.99999")"

Go to that Text box and Enter direct number as below, begin typing at middle of the mask.
(___) _23-4567 ext.78888

When click anywhere else to lost focus number formatted correctly as
(234) 567-7888 ext.8

When Check box focus again (click inside) and lost focus extra number added to the end just like before moving the numbers to the beginning.
(234) 567-7888 ext.8888
(note that ending 888 is appended)