Skip to content Skip to sidebar Skip to footer

How To Add Class To Tag When I Click On It

I need to add class='active' to tag
  • when i click on to become
  • Notice i have multiple
  • tags and i need to class='active' o
  • Solution 1:

    Use .parent() and .addClass()

    Post a Comment for "How To Add Class To Tag When I Click On It"