this question has already been asked but the solutions where not clear.
Im using Josh Bush\'s MaskedInput plugin for jQuery
What im trying to achieve is:
I think you want to use unmask
unmask
$("#myForm").submit(function() { $("#txtPhone").unmask(); });