i have several CSS classes with different background and i want to change the classes if the backgroundcolor body is for example equals to #fc4477
1 Answer
You can use the jQuery function .css()
and get the value of processed css rule, match with your value ad do what you need
(if body background == *****) body addclass *****?