Can you help me with changing the content of Easy Tooltip dynamically via Javascript? I tried almost everything:
document.getElementById('easy_tooltip').innerHTML(tooltipContent);
$("#easy_tooltip").html(tooltipContent);
$("#easy_tooltip").content(tooltipContent);
But it doesn’t work. I cannot access the content of that element.
The example can be found here.
Thank you.
The way this plugin is built is to use the
titleattribute of your element, so you can rather update your HTML code like this :(See this fiddle)
And if you need a dynamic content, you can always modify this attribute with jQuery :