hi!

i am kinda n00b on this..
but i have a website where i use jquery...
i have a div container #contents

i'm loading contents with an ajax call...and then put it in the div
$.ajax({
        type: "POST",
        url: link,
        timeout: 10000,
success: function(html) {
$("#contents").html(html);
}});

now i have added the jQuery tooltip plugin and added this:
<script type="text/javascript">
$(".tooltip").tooltip({
    track: true,
    delay: 0,
    showURL: false,
    opacity: 0,
    fixPNG: true,
    showBody: " - ",
    extraClass: "pretty",
    top: -15,
    left: 5
});
</script>

This works the first time i load the sites...
But when i run ajax calls with new contents the elements with tooltip
class doesn't show the tooltip-text.

How do I make it work when loading

Reply via email to