Click here to Skip to main content
13,095,529 members (52,787 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

5K views
1 bookmarked
Posted 13 Jul 2011

Handling CSS by using jQuery

, 16 Jul 2011
Rate this:
Please Sign up or sign in to vote.
One can chain in the classes in jQuery like:$( "#divRGB" ).removeClass('classBLUE').removeClass('classGREEN').addClass('classRED');thus optimise it.
One can chain in the classes in jQuery like:
$( "#divRGB" ).removeClass('classBLUE').removeClass('classGREEN').addClass('classRED');

thus optimise it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Dhanasekar_005
United States United States
This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170813.1 | Last Updated 16 Jul 2011
Article Copyright 2011 by Dhanasekar_005
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid