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] Multiple qtips on one page, content disappearing russau 3 132 3rd May 16:38
Last Post: Craig
  Qtips with jquery UI Issue sherwoodbear79 2 448 15th February 15:36
Last Post: sherwoodbear79
  [solved] Trouble with qtips adding a scrollbar momentarily to window patricia 0 354 2nd December 19:40
Last Post: patricia
  Changing HTML Content on Click & Remove/Reinit qTips ifthatdoesntdoit 5 1,237 17th November 09:46
Last Post: ifthatdoesntdoit
  [Solved] Blanket Destroy not working migdalskiy 2 514 22nd August 22:44
Last Post: migdalskiy
  [Solved] Destroy Not Working? bobcarver 1 1,277 Yesterday 22:38
Last Post: bobcarver
  [Solved] multiple qtips and 1.4.2 - popup not being removed michaelg 9 2,631 11th May 13:57
Last Post: cooldeeps
  qTips no showing in IE7 adrielcrv 3 1,078 9th May 14:06
Last Post: Craig
  [Solved] How to destroy a qtip when the original element is removed molicule 2 1,576 12th April 16:19
Last Post: detj
  [Solved] Using 2 qtips on 1 element with different triggering events David 4 1,968 8th February 22:22
Last Post: ramalaks



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