<div class="htmlarea"><textarea id="runcode3062"> <title>微调数字-51windows.Net-www.51windows.Net</title> <meta name="keywords" content="51windows.Net"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style> .input{ FONT-FAMILY: Tahoma; font-size:8pt; height: 17px; padding-right:2px; text-align:right; } </style> <script language="JavaScript" defer> <!-- function scrolltextarea(obj) { var textareaMin = 1 var textareaMax = 255 var o_Top = obj.scrollTop if (obj.scrollTop==2) { obj.value = (parseInt(obj.value) > textareaMax-1)?textareaMin:(parseInt(obj.value)+1) } else if (obj.scrollTop==0) { obj.value = (parseInt(obj.value) < textareaMin+1)?textareaMax:(parseInt(obj.value)-1) } obj.scrollTop = 1 } var textareaIsInted = 0 function Inttextarea(obj) { if(textareaIsInted==0) { obj.scrollTop = 1 } textareaIsInted = 1 } Inttextarea(document.all.num) //--> </script> <textarea onscroll="scrolltextarea(this);" readonly onselectstart="return false" class="input" im="" rows="1" name="num" cols="4">1 </textarea><br><input onclick="runEx('runcode3062')" type="button" value="杩"></textarea></div>