MVC Validator numberOfInvalids not working
- by user965445
I dynamically add some elements to a form so I know I need to re-parse the form.
Even if I have old invalid elements they don't get identified in numberOfInvalids
It always comes back = 0 even though the invalid fields are highlighted on the page.
var form = $("#form");
//Form Savingform.submit(function (e) {
…