jquery - How to use bootstrap tooltip? -


i have used bootstrap tooltip not working

<a href="#" data-original-tittle="test"              data-placement="right"             rel="tooltip"             target=" _blank"> hover me  </a> 

or need use jquery?

try add tooltip like

<script type="text/javascript">     $(function(){        $('[rel="tooltip"]').tooltip();     }); </script> 

or can directly select as

$('a').tooltip(); 

or try it

<a href="#" data-toggle="tooltip" data-original-title="tooltip on right">hover me</a> 

and script like

$(function() {     $('a').tooltip({placement: 'right'}); }); 

my ultimate fiddle here


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -