Topic: Why my tooltip is not appearing?
Leandro Francisco asked 6 years ago
<div class="btn indigo darken-3" id="settings" data-toggle="tooltip" data-html="true" title="Some words to help"><img src="../fotos/settings.png" alt=""></div>
<script type="text/javascript" src="/js/popper.min.js"></script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
Leandro Francisco answered 6 years ago
Problem Solved! the problem was the order importing the libraries.... I was importing the 4, but not in the correct order, the popper can't be at the end....
Bartłomiej Malanowski staff pro premium answered 6 years ago
Did you attach only the popper.min.js in your HTML file? The tooltip is a component that comes from Bootstrap so you need to import jQuery, Popper, bootstrap.js, and mdb.js in this order
Leandro Francisco commented 6 years ago
I'm attaching the 4 files, but doesn't works anyways.
Bartłomiej Malanowski staff pro premium commented 6 years ago
Can we see the demo?
Today Infra Web Development answered 6 years ago
yes I'm importing in same way with same above code then also it's not appearing
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.12
- Device: Desktop Pc
- Browser: Chrome
- OS: Windows 10
- Provided sample code: Yes
- Provided link: No