How do I select elements which have property color:lightGreen in CSS using jQuery and then change it to #666?
Example Html:
<a id="ctl00_ContentPlaceHolder1_GridView1_ctl17___ID_DetailsHyperLink"
class="CorporateHyperlink"
href="/EstimateSite/Estimate/Details.aspx?ID=234"
style="color:LightGreen;">Details</a>
Or if you prefer using
filter:BUT if you had the opportunity to edit the markup, you’re best off adding the light green colour to a class, then applying the class to those elements, then you can have another class for your new colour, then change them like so: