jquery - How to make action to a button inside tooltip in Highcharts? -
I have added a button inside the tooltip in HighThat and I have to take some action after the click event.
config = {tooltip: {useHTML: true, formatter: function () {return "& lt; a href = \" # \ "id = \" button \ "& gt; asd & Lt; / a & gt; "; Unfortunately, jQuery does not seem to work well here $ (document) .on ('click', '#button', function () {e.preventDefault () ; Console.log ("ok");});
Click OK if nothing is wrong? I think the problem is SVG, right?
Comments
Post a Comment