function IsAlpha(txtvalue)
{
var numaric = txtvalue.value ;
for(var j=0; j
{
var alphaa = numaric.charAt(j);
var hh = alphaa.charCodeAt(0);
if((hh > 64 && hh<91)> 96 && hh<123) || (hh == 32) || (hh==46))
{
}
else
{
txtvalue.focus();
txtvalue.value = "";
alert('Please Insert [a-z] only number are not allowed!');
return false;
}
}
return true;
}
Coding Spirit is a blog for sharing general programming related concepts (usually) .NET, Asp.net, C#.net, Jquery, Ajax, Sql Server, PHP, MySql and any other as well as some discussion of programming concepts.
Friday, September 4, 2009
Is Alfa function using Javascript
Subscribe to:
Post Comments (Atom)
Your Code Have problem Because First For Loop Is Not Complete
ReplyDelete