add tooltip to a div when hover bootstrap code example
Example 1: tooltip bootstrap
<!-- data-container="body" -> Show above all -->
<!-- data-html="true" -> Accept html -->
<!-- data-placement="right" -> Tooltip side (right,top,left,bottom) -->
<a data-container="body" data-toggle="tooltip" data-html="true" data-placement="right" title="Teste">
Example 2: bootstrap tooltip on dynamic element
$("body").tooltip({
selector: '[data-toggle="tooltip"]'
});