
setAdInfo();//设置广告信息
$(document).ready(function () {
var f = $("#form_yx_login").validate({
submitHandler: function (form) {
dialog.loading();
$("div#errorMsg").hide();
form.submit();
},
rules: {
'user':{required:true,minlength:4,maxlength:50},
'pass':{required:true,minlength:4,maxlength:16},
//'validate':{required:true,minlength:4,maxlength:4}
},
messages: ...