1
Hi guys. I have the following problem..., for some reason my tooltip is not loading my image. Follow my code below and the picture of what is happening!
<a data-toggle="tooltip" title="<img src='https://www.confidencial.com.br/wp-content/uploads/2019/05/tooltip-cupom-fiscal.jpg'/>"> <i style="text-align: right; font-size:22px; color: #d4b268" class="fa fa-info-circle" aria-hidden="true"></i></a>
jQuery(document).ready(function() {
jQuery('a[data-toggle="tooltip"]').tooltip({
animated: 'fade',
placement: 'right',
html: true
});
});
I put the data-html="true", but the error continues!
– Maiko Souza
Then open the browser console and see if there is an error!
– LeAndrade
It does not give me any error. The information balloon does not render the img tag, it is considering the tag as a string.
– Maiko Souza