this will accept only numbers from 0 to 9. ... keyCode. 7. if (charCode > 31 && (charCode < 48 || charCode > 57)). 8. return false;.
確定! 回上一頁