When focus is on input, add a class to it's closest label
When focus is on input, add a class to it's closest label
Hi,
Looking at my example here:
Find the closest label
Could you please help me to find out why this part of the code is not working?:
$(this).closest(".text-label").addClass("text-label--floated");
Thanks
Topic Participants
bigtail
jakecigar