I am trying to use the jQuery qTip plugin to display the text inside the element.
I have multiple links in a table like so with different classes. The text in the links is hidden with a negative text indent and a background sprite is used to make them look unique.
<a href="#" class="spot_quote">Spot quote</a>
<a href="#" class="contract_quote">Contract quote</a>
I thought this would jquery would just pick up the text in the link:
$('.contract_quote, .spot_quote').qtip(
{
content: $(this).text() // Give it some content, in this case a simple string
});
But it returns way more than i need or want. I don't really want to add the title attribute as it is not needed here.