- 链接地址:https://blog.csdn.net/weixin_32641973/article/details/117839386
- 链接标题:html输入框2位小数,js限制input输入框只能输入2位小数-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:2236
文章浏览阅读822次。$.fn.decimalinput = function() {$(this).css("ime-mode", "disabled");this.bind("keypress", function(e) {if (e.charCode === 0) return true; //非字符键 for fire..._input 限制输入两位小数 js
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除