How do you create a simple, custom rule using the jQuery Validate plugin (using addMethod
) that doesn't use a regex?
For example, what function would create a rule that validates only if at least one of a group of checkboxes is checked?
How do you create a simple, custom rule using the jQuery Validate plugin (using addMethod
) that doesn't use a regex?
For example, what function would create a rule that validates only if at least one of a group of checkboxes is checked?
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
No comments:
Post a Comment