This is the final step before pushing errors for inline validation:
$(("#fn_fn").parent('div:equ(0)')).addClass('item-error');
it hits this line and gives the following:
"Object doesn't support this Property Or Method"
This is the final step before pushing errors for inline validation:
$(("#fn_fn").parent('div:equ(0)')).addClass('item-error');
it hits this line and gives the following:
"Object doesn't support this Property Or Method"
Looks like your inner selector is missing the $
sign ("#fn_fn").parent('div:equ(0)')
Try this:
$("#fn_fn").parent("div").addClass("item-error");
What is equ
? Did you mean eq
? If so, it would be redundant since parent()
only returns 1 element.