<input value="0" id="ipt01">
<br>
<input type="button"
onclick="document.getElementById('ipt01').value++;" value="+">
<input type="button"
onclick="document.getElementById('ipt01').value--;" value="-">



作者:Else 's Blog
地址:http://www.aixq.com/post/79/
版权所有。转载时必须链接形式注明作者和原始出处及本声明!
  • 中查看更多“怎么通过点按钮实现input值的增减?”相关内容
  • 中查看更多“怎么通过点按钮实现input值的增减?”相关内容
  • 中查看更多“怎么通过点按钮实现input值的增减?”相关内容
  • 中查看更多“怎么通过点按钮实现input值的增减?”相关内容
  • 中查看更多“怎么通过点按钮实现input值的增减?”相关内容
  • 中查看更多“怎么通过点按钮实现input值的增减?”相关内容

  • 最后编辑: admin 编辑于2006/04/13 16:32
    Tags:
    代码 程序 编程 | 评论(1) | 引用(0) | 阅读(1561)
    发表评论
    表情
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    打开HTML
    打开UBB
    打开表情
    隐藏
    昵称   密码   游客无需密码
    网址   电邮   [注册]