jQuery Mask is a jQuery Plugin used to make masks on form fields and HTML elements.
jQuery Mask
is a jQuery
based Plugin used to make masks on form fields and HTML elements.
Usage
// Applies the mask to the matching selector elements.
$(selector).mask(mask [, options]);
// Seek and destroy selector elements to be masked.
$(selector).unmask();
// Gets the value of the field without the mask.
$(selector).cleanVal();
// Applies the mask to the matching selector elements.
$.applyDataMask([selector]);