-----------this is the script i had written onkeyup="return validatechar();----------------on textbox
function validatechar() {
var name =document.getElementById('<%=txtname.ClientID %>').value;
var check =/^[a-zA-Z]+$/;
if (!check.test(name.value))
{
alert('Enter name in alphabet only');
}
-------------------------why this is not working ---------------
please find this code and make suitable changes to it if u know but
Don't send link of websites??????????????