Sometimes we need the user to enter only numbers in a text field, ... keyCode; if (charCode > 31 && (charCode < 48 || charCode > 57)) return ...
確定! 回上一頁