Commit 022bbfab by yangfangfang

注册公司名称支持中英文括号

parent 35b2b2f8
......@@ -32,7 +32,7 @@
return "succ"
}
},
obj={
obj={
isNull:function(option){
var options={
val:option.val,
......@@ -128,7 +128,7 @@
var options={
val:option.val,
max:option.max || 96,
reg:/^[a-zA-Z0-9_\-\u4E00-\u9FA5]+$/,
reg:/^[a-zA-Z0-9_\s\-\u4E00-\u9FA5\(\)\(\)]+$/,
regFlag:false,
regTxt:option.txt || optionTxt.errorCompany
}
......@@ -237,7 +237,7 @@
}
return fn(options);
},
pwd:function(option){
pwd:function(option){
var options={
val:option.val,
// min:6,
......@@ -290,12 +290,12 @@
if(infoObj[i].txt != "succ"){
infoObj[i].status = true;
}
if(infoObj[i].status=="true"){
document.getElementById(i).focus();
var top=document.getElementById(i).offsetTop
document.documentElement.scrollTop=top-70;
break
break
}
}
}else{
......@@ -305,4 +305,4 @@
}
return infoObj
}
})();
\ No newline at end of file
})();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment