【发布时间】:2015-02-10 10:30:50
【问题描述】:
我正在使用 popover() 函数来制作弹出框。我是这样使用它的:
$(status).popover({
trigger: 'click',
placement: 'top',
html: true,
title: "<div style='color:black'>Details:</div>",
content: $(statuses).html()})
它就像我想要的那样工作。除了一件事,现在当用户单击特定元素时,他会弹出,他需要再次单击该元素才能摆脱它,实际上是这样。在页面点击ANYWHERE后是否可以让它消失?
【问题讨论】:
标签: javascript jquery twitter-bootstrap popover