Click here to Skip to main content
15,886,199 members
Articles / Web Development / HTML

Handling CSS by using jQuery

Rate me:
Please Sign up or sign in to vote.
4.88/5 (6 votes)
16 Jul 2011CPOL 8.2K   1  
One can chain in the classes in jQuery like:$( "#divRGB" ).removeClass('classBLUE').removeClass('classGREEN').addClass('classRED');thus optimise it.

Views

Daily Counts

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions