[Jquery] Selecting elements with a certain background color


Answers

Use the attribute selector [attribute=value] to look for a certain attribute value.

#id_of_the_div span[background-color=rgb(255,255,255)]
Question

I want to select a bunch of spans in a div whose CSS contains a particular background color. How do I achieve this?




Links