Dragos Durlut Dragos Durlut - 10 months ago 24
jQuery Question

How to see jQuery validation list of elements with errors

Sometimes, the form won't submit because jQuery has some invalid elements that will not show up in an error message.

How can we see these errors in order to debug more easily ?

var validator = $("form").validate()

will show the array of errors that are holding back the form from submiting.