5

I am using the Tooltipster tooltip on my website.

I want to know, is there a way to disable a Tooltipster tooltip that is showing, on a mouse button click ?

Like suppose I have a form and the Submit button has a Tooltipster tooltip on it which shows when the user hovers the mouse over the submit button. Now, I want the tooltip to be disabled immediately (i.e. go away) when the user clicks on that form Submit button. Can this be done somehow ?

Ahmad
  • 12,886
  • 30
  • 93
  • 146

2 Answers2

7

This worked for me:

$('#idToHide').tooltipster('content', null);
Joan
  • 239
  • 4
  • 6
0

$('#idToHide').tooltipster('hide');