This tutorial will cover: Modifying CSS attributes with jQuery Setting a class for a page element Removing a class from a page element Testing if a class exists A quick toggle click behavior example The final example will use all of the other elements in a single exercise. There are many more things you can [...]
Basic jQuery Tutorial: Modify CSS classes and attributes, Hover and Toggle example is a post from: Sean Walther's Blog