Open tooltip that was closed before

Open tooltip that was closed before

Hello,
i have the following problem.
I want to show some data when hovering over a table row. The data is fetched via a php helper script.
The first time i hover over the row works perfectly. Tooltip is shown with my custom data and all is good. When i stop hovering over my row, the tooltip gets closed. But now i cannot reopen the same tooltip again even though i am hovering above the same table row.
Now rows work, but with the same problem, it only works the first time.

Here my js, maybe somebody can help?

      1.                         var hovers = new Array();
      2. $(document).ready(
      3. function () {
      4. $( "tr" ).hover(
      5. function()
      6. {
      7. var element = $(this);
      8. hovers[element.attr("id")] = true;
      9. if (!element.data('ui-tooltip'))
      10. {
      11. $.get("inc/js_sql_helper.php",
      12. {
      13. search: "taskOverview",
      14. term: element.attr("id")
      15. }, 
      16. function( data )
      17. {
      18. if (hovers[element.attr("id")])
      19. {
      20. element.tooltip({ content: function() { return data; } });
      21. element.tooltip("open");
      22. }
      23. },
      24. "json"
      25. );
      26. }
      27. else
      28. {
      29. element.tooltip("open");
      30. }
      31. }, 
      32. function()
      33. {
      34. var element = $(this);
      35. hovers[element.attr("id")] = false;
      36. if (element.data('ui-tooltip'))
      37. {
      38. element.tooltip("close");
      39. }
      40. }
      41. );
      42. }
      43. );

      Thanks in advance :)