Home arrow JavaScript arrow Adding and Removing CSS Classes with the jQuery JavaScript Library
JAVASCRIPT

Adding and Removing CSS Classes with the jQuery JavaScript Library


Welcome to the sixth article in a series that introduces the jQuery JavaScript library. Composed of eight approachable tutorials, this series steps you through using the most relevant methods included with the jQuery framework, complementing theory with numerous, illustrative hands-on examples.

Author Info:
By: Alejandro Gervasio
Rating: 4 stars4 stars4 stars4 stars4 stars / 3
September 16, 2009
TABLE OF CONTENTS:
  1. · Adding and Removing CSS Classes with the jQuery JavaScript Library
  2. · Adding and removing CSS classes on the fly
  3. · Dynamically adding a CSS class to a predefined web page element
  4. · Creating some basic mouse effects

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Adding and Removing CSS Classes with the jQuery JavaScript Library
(Page 1 of 4 )

Introduction

In case the term “jQuery” doesn’t ring any bells for you, let me tell you that it’s the name of a new third-party JavaScript framework, and has became very popular with many web developers in the last few months, due to its friendly -- yet powerful -- programming interface.

Regardless of its relatively small size (approximately 14 KB compressed), jQuery comes with a impressive arsenal of methods that permit you to develop full-featured client-side applications without having to be a guru in JavaScript programming. So, if you’re interested in learning how to put this library to work for you in a short time, then you should start reading this article now!

As you’ll certainly recall, in the last article I discussed the manipulation of “focus” and “blur” events with “jQuery,” as well as the control of web form submissions via its “submit()” method. Nonetheless, there are many other useful features provided by this library that also deserve a close analysis. In this sixth part of the series, I’m going to discuss how to assign and remove CSS classes dynamically from a web document, in addition to using this handy capability to create appealing mouse over effects.

Are you ready to continue this educational journey? So, let’s get going!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks
- Dynamic jQuery Styling

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials