日期:2014-05-17 浏览次数:20813 次
<html>
<form>
<input type=text name=amount value=1>
<input type=button value="+" onClick="javascript:this.form.amount.value++;">
<input type=button value="-" onClick="javascript:this.form.amount.value--;">
</form>
</html>