阅读背景:

使用类而不是名称值进行jQuery验证

来源:互联网 

I'd like to validate a form using the jquery validate plugin, but I'm unable to use the 'name' value within the html - as this is a field also used by the server app. Specifically, I need to limit the number of checkboxes checked from a group. (Maximum of 3.) All of the examples I have seen, use the name attribute of each element. What I'd like to do is use the class instead, and then declare a rule for that.I'd like to validate a form using the jquery va




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: