Jquery get links where id is empty

Posted by gulbaek on Stack Overflow See other posts from Stack Overflow or by gulbaek
Published on 2010-06-10T09:15:02Z Indexed on 2010/06/10 9:22 UTC
Read the original article Hit count: 217

Filed under:

Hi

I need to change the font color on the first link.

<a href="/default.aspx" class="content">Frontpage</a>    
<a href="/default.aspx" class="content" id="product_randomnumber_link">Frontpage</a> 

But I just can't figure out a way to only select the first a.

© Stack Overflow or respective owner

Related posts about jQuery