05 フォームで数字しか入力させない

<input type="text" name="id" value=""  style="ime-mode: disabled;" onkeypress='if(event.keycode<"0".charcodeAt(0) || "9".charcodeAt(0)<event.keycode)return false;'>