jQuery.Model.static.validateInclusionOf  function     

Validates whether the values of the specified attributes are available in a particular array. See [validation] for more on validations.

$.Model.validateInclusionOf(attrNames, inArray, options) -> undefined
{Array|String}

Attribute name(s) to to validate

{Array}

Array of options to test for inclusion

{Object}

(optional) Options for the validations. Valid options include 'message' and 'testIf'.

{undefined}
© Jupiter IT - JavaScriptMVC Training and Support