How to overwrite twitter bootstrap tooltip?

后端 未结 6 2098
生来不讨喜
生来不讨喜 2021-01-04 05:02

I\'m using tooltips from Twitter Bootstrap package to show items information on the page. Sometimes information is changed, and needs to be updated in the tooltip. I tried s

6条回答
  •  旧巷少年郎
    2021-01-04 05:44

    @Sherbrow You can use the simplest one.Need not to go this complicated solution. Here is the sample code.

    $('#spanUsername').prop('title', newValue);     
    

提交回复
热议问题