2
I’m trying to put a Popover inside a row of a table that’s dynamically assembled according to the data coming from the database. I tested out of the table and it worked, but inside the table row no.
my Js is like this
$(document).ready(function(){
$('[data-toggle="popover"]').popover();
});
my html is like this
<tbody ng-repeat="dis in distritos ">
<tr>
<td>{{dis.idDistrito}}</td>
<td>{{dis.nome}}</td>
<td>{{dis.codigoDne}}</td>
<td><a href="#" data-toggle="popover" title="Popover Header" data-content="Some content inside the popover">Toggle popover</a>
</td>
</tr>
Check the console if you are returning error, but I believe it is the lack of
jQuery
...<script src="https://code.jquery.com/jquery.min.js"></script>
– NoobSaibot
I tested out the
<td>
and it worked– user93180
It may be possible that there is some conflict going on, something like, see on the console, because I tested it here and it works.
– NoobSaibot