摘要: function testNumber(){ var yourinputValue=$("#yourinputId").val(); var reg = /^[1-9]\d*$/; alert(reg.test(yourinputValue)) } 阅读全文
posted @ 2016-11-23 15:32 HalleyZ 阅读(41352) 评论(2) 推荐(0)