For example in a online website editor there is a color picker and you select a new color for the hover element. Then you go to the preview and the new hover color does not display because the mouse was not hovering on the element at the time of the setting/color change. So the preview can only be seen by saving and refreshing completely. How do you make the jquery do the css update for all elements that have the correct css/pointer to the element?