wtooltip

wtooltip

There seems to be a bug in wtooltip plugin. Load the following page in your browser, the first time when the tooltip comes up, it shows foo; starting from the second time, it shows null. I used jquery 1.4.2 and the latest version of the plugin :
 
Note: the problem goes away if you specify content, for example: $("a").wTooltip({content: "bar"});  
 
  1. <html>
    <head>
    <script type="text/javascript" src="jquery-1.4.2.js"></script>
    <script type="text/javascript" src="http://plugins.jquery.com/files/wtooltip.js_3.txt"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $("a").wTooltip();
        });
    </script>
    </head>
    <body>
    <a href="www.cnn.com" id="1" title="foo">cnn</a>
    </body>
    </html>