Hi,
I am trying to add help icon each dashboard panel of my splunk app so that user gets to see help message when they hover over that icon.
I created a js file to add div of this implementation dynamically on window load. It works fine on my local Splunk Enterprise installation version 6.6.4. But same code stops working on our Production Splunk Enterprise which is also on same version with the only difference that it is running on search head cluster.
folowing is my code:
$( window ).on( "load", function() {
$(".dashboard-element-header").append(" ");
$(".dashboard-element-header").append(" Total count of accounts that are currently active for DME ");
$('.tooltip_class').hide();
$('.tooltip_class_main').hide();
$('.imageIcon_class').hover(function() {
console.log('reached showss');
$(this).parent().parent().children('.tooltip_class').show();
}, function() {
console.log('reached hidess');
$('.tooltip_class').hide();
});
});
Is there something incorrect in this code ?
... View more