//匹配整数,正小数 appUtils.bindEvent($(_pageId+" .remind-list-con input"),function(){ var reg = /^(d+.)|(d)|[D.]/g this.value=this.value.replace(reg,'$1$2'); },"input onpropertychange");