var validate = $("form").validate({....})
validate.showError({"username":"username is required!"});
validate.showError([{"username":"username is required!"}]);

 

posted on 2017-09-06 16:05  广  阅读(807)  评论(0编辑  收藏  举报