<button type="button" rel="drevil2" data-container="body" data-toggle="popover" class="glyphicon glyphicon-hand-up popverInput" data-placement="bottom" style="display:none;"></button>
$('[rel=drevil2]').popover('destroy');
$("[rel=drevil2]").popover({
trigger: 'manual',
placement: 'bottom',
title: '<div style="">电话: ' + phones + '</div>',
html: 'true',
content: '<div id="popOverBox2"> 地址:' + address + '</div>',
animation: false
}).on("mouseenter", function () {
var _this = this;
$(this).popover("show");
$(this).siblings(".popover").on("mouseleave", function () {
$(_this).popover('hide');
});
}).on("mouseleave", function () {
var _this = this;
setTimeout(function () {
if (!$(".popover:hover").length) {
$(_this).popover("hide")
}
}, 100);
});