JS:
$(function(){
$(\"#example\").popover({
placement: \'bottom\',
html: \'true\',
title : \'
The following is what i just used in my project .And hope it can help you
example
$('#manualinputlabel').click(function(e) {
$('.popover-title').append('');
$(this).popover();
});
$(document).click(function(e) {
if(e.target.id=="popovercloseid" )
{
$('#manualinputlabel').popover('hide');
}
});