(jQuery) How do I find the first link which has a specific class?
<p>If I have a link <strong>somewhere</strong> (not predetermined) down the tree like this:</p>

<pre><code>&lt;div id="foo"&gt;
  &lt;div&gt;
    &lt;div&gt;
      &lt;a href="asdf.com"&gt;link&lt;/a&gt;
      &lt;a href="#bar" class="specialLink"&gt;link&lt;/a&gt;
      &lt;a href="#bar2" class="specialLink"&gt;link&lt;/a&gt;
      &lt;a href="#bar3" class="specialLink"&gt;link&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>How would I go about selecting the first link with the class "specialLink" using .find()?</p>

<p>My non working guess is:</p>

<pre><code>$("#foo").find(".specialLink a:first")
</code></pre>
