Click here to Skip to main content
12,998,892 members (54,120 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.9K 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
No Biography provided

You may also be interested in...

Pro

Comments and Discussions

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