it is possible to use a tooltip and popover of Bootstrap 3 on the same element?
I have a table and want to show on each row (tr) a tooltip. Additionally I want to show
You dont have to use data-toggle
, title
and so on. Invoke the bootstrap plugins manually. See this example :
qwerty qwerty qwerty qwerty
qwerty qwerty qwerty qwerty
script :
$('tr').each(function() {
$(this).popover({
content : $(this).attr("popover-content"),
title : $(this).attr("popover-title")
})
$(this).tooltip({
placement : 'bottom',
title : $(this).attr("tooltip-title")
})
})
demo fiddle -> http://jsfiddle.net/79fXt/