Here is my HTML code:
<th scope="col" class="table-success titlerow featurecol"
id='headerPop'>
Some Text Header
<sup>
<a href='' class="fas fa-info"></a>
</sup>
</th>
This is the corresponding JavaScript file in Meteor:
Template.nameTemplate.events({
'mouseenter #headerPop':async function (event,instance){
instance.$(event.currentTarget).popover({
html:true,
title:'The title',
content:'Some text here'
})
}
})
I am facing an issue where the popover message never appears when a user hovers over the header column of the table. Can someone help me identify what might be incorrect in my code? I want the popover to show up every time a user hovers over the header.