2016-10-20 17:55:29 +08:00
|
|
|
|
$(function () {
|
|
|
|
|
$(".container").autoCenter();
|
2016-10-23 15:46:18 +08:00
|
|
|
|
|
|
|
|
|
// validate
|
|
|
|
|
$('#login').autoValidate({
|
|
|
|
|
userName: {
|
|
|
|
|
required: true,
|
|
|
|
|
maxlength: 50
|
|
|
|
|
},
|
|
|
|
|
password: {
|
|
|
|
|
required: true,
|
|
|
|
|
maxlength: 50
|
|
|
|
|
}
|
|
|
|
|
});
|
2016-10-20 17:55:29 +08:00
|
|
|
|
})
|