function checkNum(num){ var reg=/^[0-9]+.?[0-9]*$/; //判断字符串是否为数字,判断正整数用/^[1-9]+[0-9]*]*$/ if(!reg.test(num)){ alert("请输入 ...
確定! 回上一頁