https://github.com/afaur/mask
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/afaur/mask
- Owner: afaur
- Created: 2015-08-16T00:00:23.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-16T00:00:53.000Z (almost 11 years ago)
- Last Synced: 2025-02-12T13:56:51.993Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jQuery Mask Plugin
===========
*I did not include the CSS because most people will probably want to style it themselves*
[](https://travis-ci.org/igorescobar/jQuery-Mask-Plugin)
[](https://codeclimate.com/github/igorescobar/jQuery-Mask-Plugin)
[](https://sourcegraph.com/github.com/igorescobar/jQuery-Mask-Plugin)
Installation
-----------
```bash
mrt add mask
```
#Live Demostration & Usage Examples
http://igorescobar.github.io/jQuery-Mask-Plugin/
##Features
* Lightweight (~2kb minified, ~1kb gziped).
* Masks on any HTML element (no need to server-side mask anymore!)!
* data-mask attribute support.
* String/Numeric/Alpha/Mixed masks.
* Reverse mask support for masks on numeric fields.
* Sanitization.
* Optional digits.
* Recursive Digits.
* Automatic maxlength.
* Advanced mask initialization.
* Callbacks.
* On-the-fly mask change.
* Mask removal.
* Full customization.
* Compatibility with Zepto.js
##Tutorials
### English
* [Masks with jQuery Mask Plugin](http://bit.ly/masks-with-jquery-mask-plugin)
* [jQuery Masking Plugins](http://coderbay.com/jquery-masking-plugins)
* [Using jQuery Mask Plugin With Zepto.js](http://bit.ly/using-jquery-mask-plugin-with-zeptojs)
### Portuguese
* [Mascaras com JQuery Mask Plugin](http://bit.ly/mascaras-com-jquery-mask-plugin)
* [Mascara Javascript para os novos telefones de São Paulo](http://bit.ly/mascara-javascript-para-os-novos-telefones-de-sao-paulo)
## 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
* [Igor Lima](https://github.com/igorlima)
* [Mark Simmons](https://github.com/Markipelago)
* [Gabriel Schammah](https://github.com/gschammah)
* [Marcelo Manzan](https://github.com/kawamanza)
## Help us!
[](https://pledgie.com/campaigns/22649)
## Donators (Thanks!)
* Rinaldo Morato
* [Marcelo Otowicz](http://www.ofen.com.br/)
* Marcia Cristina Cava
* [Igor Lima](https://github.com/igorlima)
* Steve Binder
* Douglas Patrocinio
* Paulo Diogo Rodrigues Leão
* Dorijan Covran
* Amaro Mariño Malvido
* Mark Guadagna