diff --git a/javascript.html b/javascript.html index e0723989e..4fed27e48 100644 --- a/javascript.html +++ b/javascript.html @@ -847,9 +847,21 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
The tooltip plugin generates content and markup on demand, and by default places tooltips after their trigger element.
Trigger the tooltip via JavaScript:
{% highlight js %} $('#example').tooltip(options) +{% endhighlight %} + +The generated markup of a tooltip is rather simple, though it does require a position (by default, set to top by the plugin).