javascript - Form validation plugin fails with classes -
i working validator plugin have built, , each problem solved seems new 1 appearing. problem when use class validation selector, class validated , long 1 of them filled in accepted. now, while okay instances, not all. fiddle http://jsfiddle.net/9gwuyras/2/ the full code validation plugin can found in fiddle well. parts of code think issue being caused using fiddle reference lines of code lines 497 - 514 reasoning doesn't matter class selector in setting.selectors[] array multiple times, possible option. for(var control in controls){ if(typeof controls[control] != 'object'){ console.log("controls."+control+" must object. skipping element"); continue; }else if(typeof controls[control].validate == 'undefined'){ console.log("controls."+control+".validate must defined"); continue; } $this.find('input, textarea, select').each(function(){ if($(this).is(...