举例看看
$("#form").validate();$("#btn).click(function(){ if($("#form").valid()){ $("#form").submit(); }});