Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Wednesday, 25 June 2014
Alphanumeric Validation
Enter text filed only to allow alphabit & Numbers
function alpha_numeric_validation(arg){
var valReg = /^[A-Za-z0-9]+$/;
if(valReg.test( arg ) ) {
return false;
} else {
return true;
}
}
No comments:
Post a Comment