Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to destroy qtip
17th March, 11:47
Post: #1
How to destroy qtip
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
Find all posts by this user
Quote this message in a reply
17th March, 14:48
Post: #2
How to destroy qtip
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!

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
17th March, 20:55
Post: #3
How to destroy qtip
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Blanket Destroy not working migdalskiy 2 379 22nd August 22:44
Last Post: migdalskiy
  [Solved] Destroy Not Working? bobcarver 1 1,043 22nd May 22:38
Last Post: bobcarver
  [Solved] How to destroy a qtip when the original element is removed molicule 2 1,351 12th April 16:19
Last Post: detj
  [Solved] Error after destroy qtip ngocluu 5 2,464 30th November 17:30
Last Post: evancooperman
  How to destroy cached qtip and then recreate it android 1 1,256 28th July 20:40
Last Post: Craig
  [Solved] [Solved] hide qtip or destroy it abdigadiga 7 3,579 8th May 00:10
Last Post: ikindred
  [Solved] Destroy and error message ('api.options'is null or not an object.) Hagge 4 2,734 31st March 02:03
Last Post: foobar
  qtip("destroy") problem with jquery 1.3.2 nevermore 3 3,982 11th March 23:12
Last Post: Craig
  can't destroy tooltip and ending up with 2 tooltips on one div kurtmarr 4 1,371 3rd March 01:01
Last Post: kurtmarr
  How to dynamically destroy tooltips? fchristant 0 620 28th February 14:27
Last Post: fchristant



User(s) browsing this thread: 1 Guest(s)