Is anything wrong with this code?
Is anything wrong with this code?
Hi,
Is anything wrong with this code:?
$("input").each(function() {
if ($("input").hasClass("error")) {
$(this).parents().find(".text-input-large__wrapper").addClass("text-input-large__wrapper--error");
}
});
Thanks
Topic Participants
bigtail
jakecigar
kbwood.au