JQuery Mask for Rails
A Rails gem of the jQuery Plugin that make masks on form fields and HTML elements.
Add this line to your application's Gemfile:
gem 'jquery_mask_rails', '~> 0.1.0'
And then execute:
Or install it yourself as:
$ gem install jquery_mask_rails
And then insert into your application.js
//= require jquery.mask
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).
Problems or Questions?
Before opening a new issue take a look on those frequently asked questions:
Bug reports and pull requests are welcome on GitHub at https://github.com/maurcarvalho/jquery_mask_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
This is a gem version of JQuery mask.