// 检查字符串是否全为数字
function isNums(s){
if(s!=null){
var r,re;
re = /\d*/i;
r = s.match(re);
return (r==s)?true:false;
}
return false;
}
// 检查字符串是否全为数字
function isNums(s){
if(s!=null){
var r,re;
re = /\d*/i;
r = s.match(re);
return (r==s)?true:false;
}
return false;
}