日期:2014-05-17  浏览次数:20451 次

jquery validate插件 远程验证的问题
前台代码:
 <script   type="text/javascript" src="../Scripts/jquery.validate.js" charset="UTF8"></script>
    <script    type="text/javascript" src="../Scripts/additional-methods.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
           
            $("#form1").validate({
                rules: {
                    txtName: {
                        required: true
                    },
                    txtPassword: {
                        required: true,
                        minlength: 4
                    },
                    PwdConfirm: {
                        required: true,
                        minlength: 4,
                        equalTo: "#txtPassword"
                    },
                    txtDepart: {
                        required: true
                    },
                    txtTel: {
                        isMobile: true

                    },

                    txtMoney: {
                        required: true,
                   &n