Twitter bootstrap CakePHP&;Twitter引导:表格标题上的工具提示 ... ...

Twitter bootstrap CakePHP&;Twitter引导:表格标题上的工具提示 ... ...,twitter-bootstrap,cakephp,html-table,tooltip,Twitter Bootstrap,Cakephp,Html Table,Tooltip,我想用TwitterBootstrap 2和CakePHP 2在表头上实现一个工具提示。 工具提示适用于按钮(因此JQuery等也适用)。 具有工作工具提示的按钮示例: <table> <thead> <tr> <th>...</th> </tr> </thead> <tbody> ... </tbody> </table>

我想用TwitterBootstrap 2和CakePHP 2在表头
上实现一个工具提示。 工具提示适用于按钮(因此JQuery等也适用)。 具有工作工具提示的按钮示例:

<table>
  <thead>
    <tr>
      <th>...</th>
    </tr>
  </thead>
  <tbody>
    ...
  </tbody>
</table>


您尝试了什么?你的问题没有显示出你迄今为止所做的很多努力,StackOverflow并不意味着让其他人为你编写代码。我尝试了按钮、链接、span、标记。很抱歉,除了这里发布的示例(针对工具提示之类的简单“问题”),没有其他示例可以帮助其他人。根据文档:
,您应该能够使用
$('.ttip').tooltip()初始化此示例$(文档).ready()
<?php
echo $this->Form->postLink('Send', array(
    'action' => 'send'), array(
        'class' => 'btn', 
        'title' => 'Send it back', 
        'rel' => 'tooltip', 
        'data-toggle' => 'tooltip', 
        'data-placement' => 'bottom'
));
?>