How to add a Tooltip to a "td" with jquery?
        Posted  
        
            by Scott
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Scott
        
        
        
        Published on 2008-10-03T04:00:48Z
        Indexed on 
            2010/04/14
            7:33 UTC
        
        
        Read the original article
        Hit count: 252
        
I need to add a tooltip/alt to a "td" element inside of my tables with jquery.
Can someone help me out?
I tried:
        var tTip ="Hello world";
    $(this).attr("onmouseover", tip(tTip));
where I have verified that I am using the "td" as "this".
Edit:I am able to capture the "td" element through using the "alert" command and it worked. So for some reason the "tip" function doesn't work. Anyone know why this would be?
© Stack Overflow or respective owner