摘要:
function testNumber(){ var yourinputValue=$("#yourinputId").val(); var reg = /^[1-9]\d*$/; alert(reg.test(yourinputValue)) } function testNumber(){ va 阅读全文
摘要:
测试地址为:http://www.runoob.com/jquery/misc-trim.html?channelid=12333&name=xiaoming&age=23 实例如下: 测试地址为:http://www.runoob.com/jquery/misc-trim.html?channel 阅读全文