Lorraine Bernard Lorraine Bernard -4 years ago 84
Javascript Question

Turn the Tooltip Bootstrap functionality off

According the documentation is is possible to turn off the functionality just doing


In the case of tooltip I tried the following from js console
but it does not disable the tooltip on bottons.

Any hints how to precede?

Answer Source

You can't disable tooltips that way, because it has no event listener on the body. Instead you can disable the tooltips themselfs.

$('[rel=tooltip]').tooltip()          // Init tooltips
$('[rel=tooltip]').tooltip('disable') // Disable tooltips
$('[rel=tooltip]').tooltip('enable')  // (Re-)enable tooltips
$('[rel=tooltip]').tooltip('destroy') // Hide and destroy tooltips
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download