As we all know, we can do the following using jQuery:
 
$('.someClass').css("background-color: yellow");
 
This first matches all elements which have the class someClass, and then
alters the css of the matched elements.
This won't work when the class is dynamically added somewhere in the
page, for example on a mouseover.
 
Is it somehow possible to really alter the internal style sheet
definition, in order to reflect the wanted changes when a class is
dynamically added?
 
My guess is that this is not possible at all, but I'm not sure.. Any
ideas? Thanks!

Reply via email to