i should not allow Special character alone. How Can i restrict this in JavaScript
function blockSpecialKey(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)); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)