Tooltip not displaying initially on page load
Hello all,
My tooltip works great except that when I load the page initially (first time around) and I mouseover anywhere on the table the tooltip does not show up. I have to move away from the table and then back to it and then it appears. What may be causing this?
This is what I am doing, code wise:
- $("#myTable").mouseover(function() {
- $(this).attr("title", "This is a test");
- $(this).tooltip({
- fixed:true,
- offset: [10,-40],
- effect: "slide"
- });
- $(this).removeAttr("title");
- });
Any help is greatly appreciated.
Thanks in advance