asp.net mvc使用validate.js验证 若name属性包含特殊字符则加上双引号即可

  rules: {
                    "Can.CName": {
                        required: true,
                        rangelength: [1, 20],
                        Formtstr:true
                    }

           }

你可能感兴趣的:(validate)