doe not. Do I have to do something special with selectors or add the field specifically? Also, if I were to dynamically add fields to the dom how can I attach the validate() function to the form again so that I include the new dynamic input fields?
**SOLVED**
Many SO Cred's go to the God of Rock tvanfosson for pointing out that input tags lacked id and name attributes. Once I added them the validator worked. EXTRA cool is that if you have a client side template, the techinque works there as well:
[1]: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
以上就是How do you validate a form with multiple div's using jQuery Validate plugin?的详细内容,更多请关注web前端其它相关文章!