How to enable Bootstrap tooltip on disabled button?

后端 未结 18 2447
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 23:18

I need to display a tooltip on a disabled button and remove it on an enabled button. Currently, it works in reverse.

What is the best way to invert this behaviour?

18条回答
  •  -上瘾入骨i
    2020-11-29 00:02

    If it helps anyone, I was able to get a disabled button to show a tooltip by simply putting a span inside it and applying the tooltip stuff there, angularjs around it...

    
    

提交回复
热议问题