I am getting
TypeError: $(…).tooltip is not a function
error in the jquery file in which i am initialising tooltip() function while using lightbox2 with bootstrap.
$(function() {
$('[data-toggle="tooltip"]').tooltip({
html: true
});
});
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
<script src="main.js"></script>
</head>
<body>
<script src="lightbox-plus-jquery.min.js"></script>
</body>