I want to change the attribute of a class on which all element that use the class for the rest of the web application life (from start of use until the user exits the web ap
Using the css() method changes the inline styles on already existing elements, and you can't use that to change the styles on future elements. A workaround (that I don't like very much) would be to insert a style tag: