You don't have to loop with jQuery. jQuery can make an array (or array-like object) based upon class name. Then you can use removeClass and addClass to alter the classes.
will get you all elements that have 'x' as a class.
will get you all DIVs that have 'x' as a class.
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
Last edited by WolfShade; 10-08-2012 at 07:53 PM..