I have already research about this but. I have two different class to check. How can I do that? Please visit this link. Sir @Arun P Johny had the answer. But What if I have two or more class to check?
Like so...
<input type="text" class="myClass[]">
<input type="text" class="myClass[]">
<input type="text" class="myClass[]">
<input type="text" class="myClass2[]">
<input type="text" class="myClass2[]">
myClass[]array of class is not required you can just putmyClassthis work