【问题标题】:Bootstrap popover with a link in table header - link doesn't work带有表头链接的引导弹出窗口 - 链接不起作用
【发布时间】:2017-06-25 16:54:04
【问题描述】:

我有一个表头上有弹出框的表。弹出框有一个链接,当我按下它时,它会使表格排序并且不会打开链接。

例如:

<thead>
  <tr>
    <th> "text"
      <sup data-toggle="popover" data-content="sometext" data-placement='top' data-original-title title> <a href='' data-toggle='modal' data-target='someone'> read more help </a></sup>
    </th>
  </tr>
</thead>

等等。链接应该打开一个模式,它所做的只是对表格进行排序。

有什么帮助吗?

【问题讨论】:

  • 欢迎来到 Stack Overflow。在发布问题之前,请先进行 2 分钟的快速浏览。 stackoverflow.com/tour

标签: html twitter-bootstrap html-table popover


【解决方案1】:

示例代码会很好。

IIRC,BS 工具提示可清理任何 HTML 代码。如果你想做基本的文本,你需要使用模板。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-21
    • 1970-01-01
    • 2013-05-31
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多