/jQuery-Mask-Plugin

A jQuery Plugin to make masks on form fields and HTML elements.

Primary LanguageJavaScriptOtherNOASSERTION

#jQuery Mask Plugin A jQuery Plugin to make masks on form fields and HTML elements.

Build Status

#Live Demostration & Usage Examples http://igorescobar.github.io/jQuery-Mask-Plugin/

##Features

  • Lightweight (~2kb minified, ~1kb gziped).
  • Masks on any HTML element!
  • data-mask attribute support.
  • String/Numeric/Alpha/Mixed masks.
  • Reverse mask support for masks on numeric fields.
  • Sanitization.
  • Optional digits.
  • Digits by range.
  • Automatic maxlength.
  • Advanced mask initialization.
  • Callbacks.
  • On-the-fly mask change.
  • Mask removal.
  • Customization.
  • Compatibility with Zepto.js

##Tutorials

English

Portuguese

Compatibility

jQuery Mask Plugin has been tested with jQuery 1.7+ on all major browsers:

  • Firefox 2+ (Win, Mac, Linux);
  • IE7+ (Win);
  • Chrome 6+ (Win, Mac, Linux, Android, iPhone);
  • Safari 3.2+ (Win, Mac, iPhone);
  • Opera 8+ (Win, Mac, Linux, Android, iPhone).

Contributors

Donators (Thanks!)