Element shown as text in Tooltipster (tooltipster.js) -
i using tooltipster.js apply fancy tooltip. problem when set text in tooltip, gets rendered is, don't want. want show rendered html.
e.g.
this code:
var total = "<p><strong>text</strong></p>"; $(this).tooltipster({ content: total, multiple: true }); now, tooltip shows me <p><strong>text</strong></p>. want text.
how do that?
i got it.
i have add contentashtml: true.
looked @ other in stackoverflow.
Comments
Post a Comment