Take the item. we change it through js id, after that we try to create a popover for this id - it does not create, what is the reason?
2 answers
Apparently not visible in the house created element. Try to bind with the .on method
$('parent-selector-created-hands').on('click','[data-toggle="popover"]', function(){ $(this).popover(); }) |
I will answer my own question. Because popover is not immediately removed, so we create a new one through a timeout. setTimeout (setPopOver, 300, array_over);
|