// 判断输入是否是一个电话号码
function
ismobile(str){
var
result=str.match(/(^0{0,1}13[0-9]{9}$)/);
if
(result==
null
)
return
false
;
true
}