Click here to Skip to main content
11,410,118 members (59,513 online)
Click here to Skip to main content
Alternative Tip/Trick

Tagged as

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

Comments and Discussions

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