Why rel="tooltip" and data-original-title not work?
10,466
Code above works fine here: http://bootply.com/93035. The issue was that the tooltip was showing up off screen. Adding a data-placement="auto"
will solve this issue.
Author by
Admin
Updated on June 14, 2022Comments
-
Admin almost 2 years
Good day.
I use bootstrap 3 and jquery 1.9
Code:
<span rel="tooltip" class="tir" data-original-title="Hello"> <span class="price">100</span><br> <span class="description"><span class="bidNum">0</span> hi</span> </span>
Jquery:
<script> $(function () { $("*[rel=tooltip]").tooltip(); }); </script>
Tell me please why code not work?
Where error?