following Contain form within a bootstrap popover?, I have managed to place a form within a popover which I'm using in my bootstrap navbar. The popup works fine when I hover over the link, but when I try to move the mouse to get to the popover form, it disappears ! How can I fix this?
Navbar Item:
<li <? if($active == "change_password") echo "class=\"active\""?>>
<?php echo '<a href="#" id="popover">the popover link</a>' ?>
</li>
<li class="divider-vertical"></li>
Here's the js:
$('li:contains("the popover link")').popover({
html : true,
title: function() {
return $("#popover-head").html();
},
content: function() {
return $("#popover-content").html();
}
});