<script type="text/javascript"> $.validator.setDefaults({ //取消 忽略对hidden的验证 ignore: [], }); $.msgBox = new MsgBox({ "imghref": "/images/" }); </script>