An open API service indexing awesome lists of open source software.

https://github.com/afaur/mask


https://github.com/afaur/mask

Last synced: over 1 year ago
JSON representation

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*

[![Build Status](https://travis-ci.org/igorescobar/jQuery-Mask-Plugin.png)](https://travis-ci.org/igorescobar/jQuery-Mask-Plugin)
[![Code Climate](https://codeclimate.com/github/igorescobar/jQuery-Mask-Plugin.png)](https://codeclimate.com/github/igorescobar/jQuery-Mask-Plugin)
[![Total views](https://sourcegraph.com/api/repos/github.com/igorescobar/jQuery-Mask-Plugin/counters/views.png)](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!
[![Click here to lend your support to: jQuery Mask Plugin and make a donation at pledgie.com !](https://pledgie.com/campaigns/22649.png?skin_name=chrome)](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