I am trying to display table as a tooltip content.
However the table doesn't seem to show.
Here's the HTML:
<td>
<a href="javascript:void(0);" data-toggle="tooltip1" class="red-tooltip" title="">5 Users</a>
</td>
The table:
<table id="tooltipContent" border="4" bordercolor="black" cellspacing="1" cellpadding="15px" style="width: 800px; display: none;">
<tr><td>ravi_shrestha([email protected])</td></tr>
<tr><td>ravi_shrestha([email protected])</td></tr>
<tr><td>ravi_shrestha([email protected])</td></tr>
</table>
Tooltip initialization:
"fnDrawCallback": function( settings ) {
$('[data-toggle="tooltip1"]').tooltip({
content: $('#tooltipContent').html()
});
},
Putting something in title attribute itself is working though.