[jQuery] [tooltip]

[jQuery] [tooltip]


I have very large hints. Sometimes the hint is put under the
mousepointer. If I click, the hint disappears as wanted. However I'm
trying to react on that click, so I can trigger the click of the
object that displayed the hint.
But I am unable to get to the click without sourcehacking. I tried to
add a class and add a click eventhandler to that class but it does not
work, something like this:
$('.popup').tooltip(
{
showURL: false,
extraClass: "xx",
bodyHandler: function() { return $("<img/>").attr("src", this.src) }
}
);
$('.xx).click( function() { alert("here I am") });
How could I receive the click on the hint?