I\'m using the jquery-plugin qTip. What\'s the command to destroy all tooltips in my page ?
I tried:
$(\'.option img[title], span.taxonomy-image-link-al
None of these answers helped me.
In my case, I had a qtip on an element with a close button. The close button removed the element, so there was no reference point to remove the qtip after the element was removed.
I thought $('.qtip:visible').remove()
would work, but it somehow removed all of the qtips on the page, and not the single one that I wanted removed.
I noticed that the visible qtip is given a class qtip-active
, so what worked for me was:
$('.qtip-active').remove();