function checkKey(iKey){ |
if (iKey == 32 || iKey == 229){ return true ;} /*空格和异常*/ |
if (iKey>47 && iKey < 58){ return true ;} /*数字*/ |
if (iKey>64 && iKey < 91){ return true ;} /*字母*/ |
if (iKey>95 && iKey < 108){ return true ;} /*数字键盘1*/ |
if (iKey>108 && iKey < 112){ return true ;} /*数字键盘2*/ |
if (iKey>185 && iKey < 193){ return true ;} /*符号1*/ |
if (iKey>218 && iKey < 223){ return true ;} /*符号2*/ |
return false ; |
} |