I ran into a javascript alphanumeric validation problem, though it was quite easy to validate it by javascript using regular expression but I would have to define rules for each pattern in order to validate them, I found a nice jquery script contributed by Paulo P. Marinas. This script provides many option to validate a string.

API Functions
alphanumeric – allow both alphabet and numeric characters
alpha – allow only alphabet characters
numeric – allow only numeric characters
API Properties
allow – add excempted characters to the rule of prevention
ichars – define a custome set of characters to prevent
allcaps – allow only capital letters to be entered
nocaps – allow only lowercase characters to be entered
Demo: http://itgroup.com.ph/alphanumeric/
Download: http://www.ajaxlady.com/downloads/alphanumeric.zip
Source: http://itgroup.com.ph/alphanumeric/

Related Listings:
RSS feed for comments on this post. TrackBack URL
November 2nd, 2009 at 6:24 am
[...] This post was mentioned on Twitter by Eyes Drinker, Larry King. Larry King said: Jquery Alphanumerical Validation http://bit.ly/2Xq2VV #jQuery #Web #Dev [...]