How to address the activated tooltip?

How to address the activated tooltip?

Hello,
I'm looking for a way to address the shown tooltip on the open-event.

  1. $(document).tooltip({
  2.       open: function(event, ui){
  3.             $(WHATEVER).css("color","red"); // for example
  4.       }});


Actually I want to store the last shown tooltip in a global variable to address it from another function.

I tried it with "this" and "event.target", but it doesn't really work.

Any suggentions?


Ciao
hasenpfote