Your selector is looking <a href="something"> inside #content , so just remove this part, for example:
$("#content").qtip({
content: 'This is an active list element',
show: 'mouseover',
hide: 'mouseout'
});
The space between the selectors means searching for the descendants of the matches of the previous selector ... the adjusted, but the brute force switch will look like this: "a[href]#content"but ... it's redundant (and therefore inefficient). The selector you use is for the element #contentto have links inside, for example:
<div id="content">
<a href='#' class="qtip">sdfsfsd</a>
</div>
Or just use the class qtipyou already have, for example:
$(".qtip").qtip({
content: 'This is an active list element',
show: 'mouseover',
hide: 'mouseout'
});
source
share