是否可以使用+ - 按钮自定义金额的输入字段? [英] Is it possible to customize an input field for amounts with +- buttons?
本文介绍了是否可以使用+ - 按钮自定义金额的输入字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有可能使用jQuery& CSS设计这样的输入字段?
Is it possible with jQuery & CSS to design a input field like that?
我不知道从哪里开始,任何帮助高度赞赏!
I am not sure where to start, any help highly appreciated!
p>
推荐答案
这里是基于jQuery的简单方法。
Here's simple way based on jQuery.
http://jsfiddle.net/acodesmith / aykZs / 3 /
按钮不是准确的,只是显示可以做什么。 importat部分是父div.step。
The buttons aren't pratical, just showing what can be done. The importat part is the parent div.step .
编辑:
更新按钮
http://jsfiddle.net/EK9vA/
这篇关于是否可以使用+ - 按钮自定义金额的输入字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文