$("input[type=text]").on('focusout', function(){
if($(this).each().hasClass('valid')){
alert('go');
}
});
当用户完成填写所有字段时,我想检查该字段是否通过了我的验证,检查他们每个人是否都具有“有效”类..但是在控制台中我收到了这个错误
Uncaught TypeError: Cannot call method 'call' of undefined