Dear all,
I have a website which is bilingual and wanted to block user from entering special characters; both in arabic and in english
I got the following code but when the user switches to arabic its not taking arabic alphabets...
function alpha(e) {
var k;
document.all ? k = e.keyCode : k = e.which;
return ((k > 64 && k < 91) || (k > 96 && k < 123) || k == 8 || k == 32 || (k >= 48 && k <= 57));
}
thanks
nick
Go to the complete details ...