Click here to Skip to main content
12,403,784 members (67,645 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.5K views
1 bookmarked
Posted

Handling CSS by using jQuery

, 16 Jul 2011 CPOL
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
No Biography provided

You may also be interested in...

Comments and Discussions

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