I have a popover with focus-trigger and a link in the popover.
Html:
<div class="tree">
<div class="html-popup">
Popup text <a href="http://www.google.com" target="_top">Link somewhere</a>
</div>
<a tabindex="0" role="button" data-container="body" data-toggle="popover" data-trigger="focus" data-placement="bottom">
Text that has a popover
</a>
</div>
JavaScript:
$('.tree [data-toggle="popover" ]').popover({
html: true,
content: function () {
return $(this).prev().html();
}
});
Here is a live sample: JSFiddle
In Chrome the link opens before the popover closes but in IE and Firefox it just closes the popover.
I have to support IE9 and reasonably new versions of Firefox. How can I make the link open before the popover closes?
Thanks!
Remove Underscore from target inside tag..It will be working fine in IE
<div class="tree">
<div class="html-popup"> Popup text <a href="http://www.google.com" target="top">Link somewhere</a>
</div>
<a tabindex="0" role="button" data-container="body" data-toggle="popover" data-trigger="focus" data-placement="bottom">
Text that has a popover</a>
</div>