first commit
This commit is contained in:
3
plugins/jquery-validation/additional/nowhitespace.js
vendored
Normal file
3
plugins/jquery-validation/additional/nowhitespace.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
$.validator.addMethod( "nowhitespace", function( value, element ) {
|
||||
return this.optional( element ) || /^\S+$/i.test( value );
|
||||
}, "No white space please" );
|
||||
Reference in New Issue
Block a user