title: bootstrap modals won't show up because "$(...).modal is not a function"
body: <p>I am trying to make a modal shown with jQuery but it keeps sending this error:</p>
  
  <blockquote>
    <p><code>$(...).modal</code> is not a function</p>
  </blockquote>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;div class="modal fade" id="myModal" role="dialog"&gt;
      &lt;div class="modal-dialog"&gt;
  
          &lt;!-- Modal content--&gt;
          &lt;div class="modal-content"&gt;
          &lt;div class="modal-header"&gt;
              &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
              &lt;h4 class="modal-title"&gt;Modal Header&lt;/h4&gt;
          &lt;/div&gt;
          &lt;div class="modal-body"&gt;
              &lt;p&gt;Some text in the modal.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="modal-footer"&gt;
              &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
          &lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
      &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Javascript:</strong></p>
  
  <pre><code>$("#myModal").modal('show');
  </code></pre>
  
  <p>I have added to the html file the Bootstrap and jQuery links.
  Is there a problem with my code?</p>