MyException - 我的异常网
当前位置:我的异常网» ASP.NET » jquery validate插件 远程验证的有关问题

jquery validate插件 远程验证的有关问题

www.myexceptions.net  网友分享于:2013-01-13  浏览:56次
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,
                        decimal: true
                    },

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有