Uncaught Error: no such method 'show' for tooltip widget instance
I had the same error, which was a conflict with jQuery UI.
If you use jQuery UI then you need to reorder your script load order.
My working load order:
- jQuery
- jQuery UI
- Bootstrap
The root of this and similar problem
"no such method 'hide' for tooltip widget instance"
that both JqueryUI and Boostrap have tooltip method,
JqueryUI works like:
$el.tooltip("option","show");
$el.tooltip("option","hide");
Boostrap works like:
$el.tooltip("show");
$el.tooltip("hide");
So, as Bogdan Lewis showed you need to reorder your scripts, for example with requirejs, you need to make Boostrap be loaded after JqueryUI
var $ = require('jquery');
require('jquery_ui');
require('bootstrap');
and adjust config for requirejs like:
bootstrap: {
deps: ['jquery', 'jquery_ui']
},