jQuery selector question
<p>I have a span and an anchor inside a table cell. I have the anchor set up to show a tooltip. I would like the text inside the span to be used for the tooltip. How can I select this text in jQuery?</p>

<pre><code>  &lt;td class="row-head" colspan="5"&gt;&lt;span class="tip-text"&gt;Complete Coverage&lt;/span&gt;&lt;a href="#" class="help"&gt;&lt;/a&gt;&lt;/td&gt;
</code></pre>

<p>JQuery code - the current selector always finds the first instance only for all tips.</p>

<pre><code>$(document).ready(function() {
  $('.help').qtip({ style: { name: 'cream', tip: true },
                 content: {
                 text: $(this).find('span.tip-text').html() 
   } });
});
</code></pre>

<p>Thanks</p>
