摘要:
js部分: 阅读全文
摘要:
WST.zhengZhengShuIn = function (className){ var rex = /^[1-9]{1}[0-9]*$/;//正整数 $("."+className).keyup(function(event){ var event = event || window.event; var value = $(this).v... 阅读全文
摘要:
WST.onlyPriceNum = function (obj) { var priceRegex = /^\d+\.?\d{0,2}$/; obj.blur(function(event) { var event = event || window.event; var val = $(this).val(); var newV... 阅读全文