|
<script language="javascript"> function Countjia(){ i=parseInt(document.all("age").value); document.all("age").value=i+1; } function Countjian(){ i=parseInt(document.all("age").value); document.all("age").value=i-1; } </script> <span onclick="Countjian()" style="cursor:hand;">-</span> <input name="age" type="text" id="age" value="1" size="5" /> <span onclick="Countjia()" style="cursor:hand;">+</span> |