See http://jsbin.com/ocufez/1/edit
$('div').tooltip
placement: 'right'
This is not placing tooltip at right side of div.
How can I place the tooltip?
NOTE: You have to click run with JS
and hover last div in JSBin
I think jQueryUI - jquery-ui.min.js is conflicting with bootstrap.js as they both have a .tooltip() If you remove jQueryUI you'll see the Bootstrap tooltip on the right.
or you can put jquery-ui.min.js before bootstrap.js...
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<script src="http://twitter.github.io/bootstrap/assets/js/bootstrap.js"></script>
Just try to add in element:
data-toggle="tooltip" data-placement="right" title="" data-original-title="Tooltip on right"
Found in http://twitter.github.io/bootstrap/javascript.html#tooltips
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.