Click here to Skip to main content
15,885,278 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.

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 16-Jul-11 4:56 Available Deeksha Shenoy
1 No 12-Jul-11 21:46 Composing Dhanasekar_005

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