I want to use a bootstrap popover that gets triggered on click and has a (non-bootstrap) tooltip on hover. Normally you would use html title
attribute for this. But on initialisation of a popover, bootstrap writes the content of the title
attribute to the data-original-title
attribute and replaces title
with empty string.
For example this:
<a href="#!" data-toggle="popover" data-title="This is the Popover's Title" data-placement="bottom" data-trigger="click" title="This is a Tooltip">
</a>
becomes this after initialisation:
<a data-original-title="This is a Tooltip" href="#!" data-toggle="popover" data-title="This is the Popover's Title" data-placement="bottom" data-trigger="click" title=""></a>
Since title
attribute is now empty, no tooltip is shown.
Is there a way to display a tooltip on a popover anchor with plain html?