As you can see in image first gray button is clicked and than I put mouse on last button it hovers the Tooltip. Both are showing at the same time.
Once the button is clicked tooltip will not disappeared until you on click something else.
I have lots of tooltip in document so I am using this.
$( document ).tooltip()
I tried this for removing tooltip but doesn't work.
$( document ).tooltip().click(function() {
$(document).tooltip( "close");
});
Also I tried to put some hidingToolTip function on onClick event of each element and it works fine. but I need a generalize solution.