I am using masked-input-plugin but it changes value and field becomes invalid ...
in my js
$phoneInput.mask('99-99-99-999');
and later in browser console
('.phone-input-order-form').val()
"99-99-99-999"
Is there any way to get from val "999999999" while it masked ?
I am thinking to extend jQuery val but maybe you know better way? maybe without this plugin? :D
val; 2) or somehow show mask without affect to inputs value