Disable Tooltipster Tooltip on button click?
Asked Answered
A

2

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 ?

Asclepiadean answered 20/9, 2013 at 10:18 Comment(2)
removing tooltip or just disabling for the moment?Undetermined
Either would work .. Ideal situation would be to just disable it for like 10 seconds or so ..Asclepiadean
I
7

This worked for me:

$('#idToHide').tooltipster('content', null);
Intuitivism answered 10/9, 2015 at 8:56 Comment(0)
A
0

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

Ardent answered 18/11, 2013 at 7:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.