?? numericscrollexample.htm
字號:
<html>
<head>
<title>Numeric Scroll Example</title>
<script type="text/javascript" src="detect.js"></script>
<script type="text/javascript" src="eventutil.js"></script>
<script type="text/javascript" src="textutil.js"></script>
</head>
<body>
<p>Type a number into the textbox, then press the up or down arrow.</p>
<form method="post" action="javascript:alert('Submitted')">
<input type="text" onkeypress="return TextUtil.allowChars(this, event)"
validchars="0123456789" onblur="TextUtil.blurAllow(this)"
onkeydown="TextUtil.numericScroll(this, event)" />
<input type="submit" value="Submit Form" />
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -