-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6510269
Showing
5 changed files
with
7,474 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
This plugin will perform mask validation based on an arbitrary regular | ||
expression. It will take the current input value, plus the incoming | ||
character in the keydown event and test against the provided regex to | ||
assert if the incoming character should be accepted or not. | ||
|
||
In terms, it is a bit alike the keyfilter plugin, but it tests the | ||
incoming character in the context of the whole string. | ||
|
||
USAGE: | ||
|
||
$('.float').regexMask(/^\d+(,\d+)?$/); | ||
|
||
or you can use one of the named masks, which include: | ||
|
||
float-ptbr | ||
float-enus |
Oops, something went wrong.