pauldoka
pauldoka

Reputation: 1

qTip in ajax content

I load some ajax content with the load jquery function and qTip is no more working for elements in the ajax content.

I dealt with the live jquery function for the other jquery event but I don't know how to proceed with qTip.

//Load part
$(".load_trigger").load("page.php");

// Tooltip part
$(".content_el").each(function(){
      jQuery(".trigger_el", this).qtip({   

         content:...
});
});

Any idea ?

Thx!

Upvotes: 0

Views: 1647

Answers (1)

Soufiane Hassou
Soufiane Hassou

Reputation: 17750

It seems that qTip has a built-in functionality to do that, no need to load (see here).

If you still need to use $(".load_trigger").load("page.php"); did you tried something like : content: $('.load_trigger').html() ?

Upvotes: 2

Related Questions