Sometimes you need to accept only numbers for a textbox or input field ... keyCode; if (charCode > 31 && (charCode < 48 || charCode > 57)) { document.
確定! 回上一頁