Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Tooltipster Tooltip on button click?

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 ?

like image 445
Ahmad Avatar asked Sep 20 '13 10:09

Ahmad


1 Answers

This worked for me:

$('#idToHide').tooltipster('content', null);
like image 163
Joan Avatar answered Nov 07 '22 13:11

Joan