Sorry, the previous code was incorrect. The ) after the url needs to be removed
$('.list').load( { url: "/ajax-list.php", callback: function(responseText, textStatus, XMLHttpRequest) { // rebind tooltips } }); On Dec 7, 12:24 pm, aschmid <[EMAIL PROTECTED]> wrote: > Dani, > > I believe you'll have to rebind tooltips after you load the ajax > > $('.list').load( > { > url: "/ajax-list.php"), > callback: function(responseText, textStatus, XMLHttpRequest) { > // rebind tooltips > } > }); > > Andrew > > On Dec 7, 7:58 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > Hello! > > > I have recently tried to install the tooltip and got it to work just > > fine. > > > Now to the issue: > > I have a website that has some small Ajax injections into it. The tool > > tip should appear on each element of an Ajax injected list. The Ajax > > injection used is $('.list').load("/ajax-list.php"); > > > The problem is that if I apply the tooltip on an onpage HTML element, > > it works fine but when I'm trying to have the tooltip on that Ajax > > list, it won't appear... actually the title appears as a default > > browser title of a HTML element. > > > In the tooltip I added an image that has a class, a link, some spans > > and so on. And again: they work fine when they are manually written on > > the page but when the dynamic list is filled with items, it just > > breaks.. and no errors to. > > > Any idea about this issue? What am I doing wrong? How can it be fixed? > > > Best regards, > > Dani > >