<p class="tooltip-demo">Tigh <a title="Default tooltip" rel="tooltip" href="#">you probably</a></p>
<script>
$(function () {
$('.tooltip-demo').tooltip({
selector: "a[rel=tooltip]"
});
});
</script>
<p class="tooltip-demo">Tigh <a title="Default tooltip" rel="tooltip" href="#">you probably</a></p>
<script>
$(function () {
$('.tooltip-demo').tooltip({
selector: "a[rel=tooltip]"
});
});
</script>
转载于:https://www.cnblogs.com/zhouyx/p/4746797.html