jQuery Validation Arguments

Posted by Idsa on Stack Overflow See other posts from Stack Overflow or by Idsa
Published on 2010-05-24T20:16:17Z Indexed on 2010/05/24 20:21 UTC
Read the original article Hit count: 313

Filed under:
|

jQuery Validation plugin has "element" argument for required rule. I know how to use it for inline functions but what if I want to pass it to out-of-line JS function? I tried this:

rules: { startHours: { required: startTimeRequired(element) },

but it didn't work.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-validate