$("- sharpaddFrom"). Validform ({
) datatype:{
"zh2-4":/^[\u4E00-\u9FA5\uf900-\ufa2d]{2,4}$/,
"ajaxCode": function(){
$.ajax({
url:"${basePath}webCompanyInfo/check",
type:"POST",
data:data,
success:function(res){
if(res.status){
return true;
}
},
error:function(){
return res.msg;
}
})
}
},tiptype:function(msg,o,cssctl){
if(!o.obj.is("form")){
if(o.type==2){
layer.tips("",o.obj,{tips:[2,"-sharp66ee99"]});
}else{
o.obj.css("border-color","-sharpfd5353");
layer.tips(msg,o.obj,{tips:[2,"-sharpfd5353"]});
}
}
}});