diff --git a/javascript.html b/javascript.html index e397efc40d..07d528a170 100644 --- a/javascript.html +++ b/javascript.html @@ -805,6 +805,10 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {

When using tooltips on elements within a .btn-group or an .input-group, you'll have to specify the option container: 'body' (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).

+
+

Tooltips on disabled elements require placing the tooltip on an outer element instead

+

If you'd like to add a tooltip to a disabled element, place the element inside of a <div> or <span> and apply the tooltip to that element instead.

+

Usage

Trigger the tooltip via JavaScript: