How to make Switchery show bootstrap tooltip in itself?
This example does not work:
<input data-toggle="tooltip" title="Hooray!" type="checkbox" class="js-switch" />
var clickButton = document.querySelector('.js-switch');
clickButton.addEventListener('click', function() {
$('[data-toggle="tooltip"]').tooltip('show');
});
How to do it ???
How to Switchery show bootstrap tooltip in him self? This example doesn't work:
<input data-toggle="tooltip" title="Hooray!" type="checkbox" class="js-switch" />
var clickButton = document.querySelector('.js-switch');
clickButton.addEventListener('click', function() {
$('[data-toggle="tooltip"]').tooltip('show');
});
How to do ???