【发布时间】:2020-12-15 09:14:39
【问题描述】:
我使用过 Bootstrap 弹出框,在这个弹出框中,我想添加一个 href="somelink"。但这似乎不可能与当前的代码情况有关:
<a
tabindex="0"
class="btn btn-link"
role="button"
data-toggle="popover"
data-trigger="focus"
title="Reaction Time (s)"
data-content="Enter the time it takes for a driver to react.
Reaction times vary with age, distractions, alcohol or drug usage etc.
The unit is seconds.">
<i class="far fa-question-circle fa-2x"></i>
</a>
我需要做什么才能在弹出框文本中添加一个 href?
【问题讨论】:
标签: javascript html jquery twitter-bootstrap popover