Lets say i have this HTML code:
<a href="mysite.com" rel="cookie"></a>
<a href="mysite.com" rel="cake"></a>
<a href="mysite.com" rel="cookie"></a>
Is there a quick way to select only the 2 a tags with the cookie rel value.
I did manage to do it using for loop and checking the value on each element, but is there a shorter way?