Toggle navigation
Submit
n!T!n Learns 2 Kode...!!
Nitin Dhiman. Powered by
Blogger
.
Custom Validator in JQuery.Validate
Nitin Dhiman
3:57 AM
asp.net
,
custom validator
,
J Query
,
JavaScript
,
validation
No comments
$.validator.addMethod(
"regexName",
function(value, element) {
var check = false;
var re = new RegExp('^[a-zA-Z _0-9.]+$');
return this.optional(element) || re.test(value);
},
"No special characters allowed!"
);
rules: {
LoginName: {
required: true,
regexName:true
},
Share on Google +
Share on facebook
Share on twitter
Share on Linkedin
Related Posts
Casecading dropdown using JQuery.
Open fancybox on Input Click
Bravenet Links
JS file with Server Side Variable
Newer Post
Older Post
No comments :
Post a Comment
Subscribe to:
Post Comments ( Atom )
Blog Archive
▼
2010
(23)
►
May
(1)
►
April
(6)
►
March
(4)
▼
February
(11)
Custom Validator in JQuery.Validate
Open fancybox on Input Click
JS file with Server Side Variable
authorized.net complete
part-3 AuthorizeNetRequest.cs
part-4 AuthorizeNetResponse.cs
part-2 AuthorizeNetFields.cs
Part-I AuthorizeNet.cs
Javascript function to set cookies
Recursion in sql stored procedure
javascript to change group name
►
January
(1)
►
2009
(24)
►
November
(1)
►
September
(1)
►
August
(1)
►
May
(2)
►
March
(15)
►
February
(4)
Helpful Links
Nitin Dhiman Blog
Styletint
The Spousal
Labels
asp.net
C#
JavaScript
SQL 2005
authorized.net
string format
J Query
Attachement
XML
fileupload
CDONTS
Windows Services
ajax
alt key codes
custom validator
fancybox
firefox
html
validation
youtube
No comments :
Post a Comment