Refresh an element so its new tooltip shows (in jQuery/Javascript)

后端 未结 4 1031
挽巷
挽巷 2021-01-12 06:54

I have an html element which is using bootstrap tooltip to show a title when hovering over it. However, when you click this element I\'m changing the tooltip, but the new to

4条回答
  •  心在旅途
    2021-01-12 08:00

    in case you are looking to refresh the contents;

    $('#example').tooltipster('content', 'i am superman!');
    

提交回复
热议问题