title: TypeError: $(…).tooltip is not a function
body: <p>I am getting </p>
  
  <blockquote>
    <p>TypeError: $(…).tooltip is not a function</p>
  </blockquote>
  
  <p>error in the jquery file in which i am initialising tooltip() function while using lightbox2 with bootstrap.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(function() {
    $('[data-toggle="tooltip"]').tooltip({
        html: true
    });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;head&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"&gt;&lt;/script&gt;
          &lt;script src="bootstrap/js/bootstrap.js"&gt;&lt;/script&gt;
          &lt;script src="main.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;script src="lightbox-plus-jquery.min.js"&gt;&lt;/script&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>