Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
README.md
jquery.is.js
jquery.is.min.js

README.md

is.js jQuery plugin (usage)

See genaral usage guide for allowed keywords.

// Works on pretty much all DOM elements...
$('.email').is('email'); // Returns boolean value...

// And basic strings!
$.is('john.doe@example.com', 'email'); // Returns true

Contibution

Feel free to contibute in any way you see fit. Just try to keep the coding style that I've chosen in this project and don't break the code :)

To run tests make sure you've got testem installed on your system. Simply run the following command in the terminal to start testing:

$ testem

Get in touch

Follow me on twitter @rthor or send me a line in an email.

You can’t perform that action at this time.