Click here to Skip to main content
15,885,141 members
Articles / Web Development / HTML

Handling CSS by using jQuery

Consider simplifying you code as follows: function setGreen() { $( "#divRGB" ).removeClass('classBLUE classRED').addClass('classGREEN').text('Green');} function setBlue() { $( "#divRGB" ).removeClass('classGREEN...
We're sorry, but the article you are trying to view was deleted at 23 Jan 2015.

Please go to the HTML Table of Contents to view the list of available articles in this section.