0

I am validating my inputs by adding class "is-invalid" to them by jquery's addClass().

Then trying to revalidate them upon change with:

 $(".mandatory.is-invalid").on("input", function() {
       console.log("revalidate...");       
       validate($(this))
       });

However i cannot find the .mandatory.is-invalid elements by their class...

Line in Linus
  • 390
  • 8
  • 25

0 Answers0