DotnetConclave
The .NET Complete reference
Wednesday, July 27, 2011
Allow only Character in Field
function Char()
{
w=window.event.keyCode
if (w>96 & w<123 | w>64 & w<91 | w==8 | w==32)
{
return
}
else
{
window.event.keyCode=null
}
}
Back to JavaScript Tutorial Page
Back to JavaScript Validations Page
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment