How do I toggle between adding and removing a class name from an ...

How do I toggle between adding and removing a class name from an ...