Hi,
I am using the jQuery qTip plugin and am having trouble loading html content into it from another element.
I have the following code:
$('.tip').qtip({
content: {
text: $(this).next('.product_info').html()
}
});
with the following html:
<a href="#" class="tip">An Image</a>
<div class="product_info">Some content</div>
The problem is that I cannot seem to use "$(this)" so how can I refer to the current ".tip"?
Thanks!