craigsworks.com - Support Forum

Full Version: How to destroy qtip
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am trying to destroy toltips created as

$j('li.jqtip:visible').each(function()
{
$j(this).qtip({ .........

I tried two options:

1. $j('li.jqtip').qtip("destory");

2. $j('li.jqtip').each(function(){
$j(this).qtip("destory");
})
}

Nothing happens - all the qtips are still alive.

Any suggestions?

Thanks

Andy
Hey AndyG,

Are those code snippets copied directly from your code? If so, check your spelling of "destroy". You have no idea how many times I have done that and scratched my head wondering why the tooltips wouldn't disappear during testing!
Thank you Smile
In fact, I already destroyed qtips by a hammer - $j('div.qtip').remove();

It is, indeed, not a good way, as it does not clear events
Reference URL's