https://github.com/picandocodigo/ci.jquery
jQuery plugin to validate Uruguayan Identity Documents (Cedula de Identidad Uruguaya).
https://github.com/picandocodigo/ci.jquery
Last synced: 4 months ago
JSON representation
jQuery plugin to validate Uruguayan Identity Documents (Cedula de Identidad Uruguaya).
- Host: GitHub
- URL: https://github.com/picandocodigo/ci.jquery
- Owner: picandocodigo
- Created: 2014-03-24T02:59:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-30T23:47:51.000Z (over 11 years ago)
- Last Synced: 2025-01-10T04:19:37.998Z (6 months ago)
- Language: JavaScript
- Homepage: http://plugins.jquery.com/ci/
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jQuery CI Validator
jQuery plugin to validate Uruguayan Identity Documents (Cedula de
Identidad Uruguaya).This plugin will validate a text input's content as a Uruguayan CI
number. It will add 'valid' or 'invalid' classes to an input.
Check out [example.html](example.html) to see how it works or see below:## Usage:
```html
input.valid{
background: #9deb91;
}
input.invalid{
background: #eb91ae;
}$("#ci").keyup(function(){
$("#ci").validate_ci(); // adds 'valid' or 'invalid' classes to the input on keyup
});```