Reputation: 25
Trying to manually close tooltip using link in tooltip, however, since it's a delegated tooltip, I'm unable to achieve this.
See jsfiddle: http://jsfiddle.net/YhV5B/
$('#ui-tooltip-0').delegate('.tooltip-close', 'click', function(e) {
alert("yes");
var $this = $(e.target);
$(this).tooltip('close');
});
Any help would be appreciated.
Thanks
Upvotes: 1
Views: 993