Only close tooltip if mouse is not over target or tooltip
Here is the solution I came up with after much searching and testing: http://jsfiddle.net/Handyman/fNjFF/11/ $(‘#target’).tooltip({ items: ‘a.target’, content: ‘Loading…’, show: null, // show immediately open: function(event, ui) { if (typeof(event.originalEvent) === ‘undefined’) { return false; } var $id = $(ui.tooltip).attr(‘id’); // close any lingering tooltips $(‘div.ui-tooltip’).not(‘#’ + $id).remove(); // ajax function to pull in data … Read more