Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to destroy all qtips
16th September, 07:04
Post: #1
How to destroy all qtips
I have multi-qtips created dynamically on my page, now I want to destroy all of them without loop each element and call its destroy function, how to do that?
Thanks.
Find all posts by this user
Quote this message in a reply
16th September, 11:17
Post: #2
How to destroy all qtips
ngocluu, there isn't any other way to do it exept to loop over each one:

JS Code
var qtips = $.fn.qtip.interfaces,
i = qtips.length; while(i--) qtips.destroy();

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
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [solved] Trouble with qtips adding a scrollbar momentarily to window patricia 0 147 2nd December 19:40
Last Post: patricia
  Changing HTML Content on Click & Remove/Reinit qTips ifthatdoesntdoit 5 862 17th November 09:46
Last Post: ifthatdoesntdoit
  [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] multiple qtips and 1.4.2 - popup not being removed michaelg 9 2,385 11th May 13:57
Last Post: cooldeeps
  qTips no showing in IE7 adrielcrv 3 947 9th May 14:06
Last Post: Craig
  [Solved] How to destroy a qtip when the original element is removed molicule 2 1,351 12th April 16:19
Last Post: detj
  [Solved] Using 2 qtips on 1 element with different triggering events David 4 1,732 8th February 22:22
Last Post: ramalaks
  [Solved] My QTips not working on IE7 designlucas 2 697 Today 14:40
Last Post: designlucas
Exclamation qTips and Wordpress davidcsonka 2 1,647 19th January 13:15
Last Post: GuillaumeL



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