title: Bootstrap $('#myModal').modal('show') is not working
body: <p>I'm not sure why but all the modal functions are not working with me.
  I checked the version and the load they are fine.  </p>
  
  <p>I keep getting this error message:</p>
  
  <p><code>Uncaught TypeError: $(...).modal is not a function</code></p>
  
  <p>for the hide I already found an alternative.
  instead of:</p>
  
  <pre><code>$('#myModal').modal('hide');
  </code></pre>
  
  <p>I used this :</p>
  
  <pre><code>$('#myModal .close').click();
  </code></pre>
  
  <p>And it works perfectly.</p>
  
  <p>The problem now is with the show</p>
  
  <pre><code>$('#myModal').modal("show");
  </code></pre>
  
  <p>I also tried both</p>
  
  <pre><code>$('#myModal').modal("toggle");
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>$('#myModal').modal();
  </code></pre>
  
  <p>but unfortunately none of them is working.</p>
  
  <p>Here html code -when the button is clicked I will do some verification and handle a json data from the web service if it succeed then I want show my modal- everything is working except the show. </p>
  
  <pre><code> &lt;button type="button" id="creatNewAcount" class="btn btn-default" data-toggle="modal"&gt;Sign up&lt;/button&gt;
  </code></pre>
  
  <p>if there's any alternative I would like to know it.</p>