【发布时间】:2014-03-30 16:01:41
【问题描述】:
我有一个 html 元素,当悬停在它上面时,它使用引导工具提示来显示标题。但是,当您单击此元素时,我正在更改工具提示,但新的工具提示不会显示,直到我将鼠标从中移除并再次将鼠标悬停在该元素上。
我希望在单击所述按钮时立即显示工具提示。我怎样才能做到这一点?有没有办法在没有更好的词的情况下“刷新”一个 html 元素?
【问题讨论】:
-
贴出代码会有帮助
-
嗯 i
m not sure of any 'Refresh' events in bootstrap, but a work around would be to internally call themouseover` 点击事件回调结束时的事件。
标签: javascript jquery twitter-bootstrap twitter-bootstrap-tooltip