title: Bootstrap Modal not working in partialview
body: <p>i use bootstrap modal in partialview not working, but working in view
  dont know what happen, anyone can help me, thanks!
  my code</p>
  
  <pre><code>@Html.Partial("_Header") (in layout)
  
  &lt;script src="~/Scripts/jquery-1.10.2.min.js"&gt;&lt;/script&gt;
  &lt;a data-toggle="modal" href="#myModal" class="btn btn-primary btn-lg"&gt;Launch demo modal&lt;/a&gt;
  
  &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
                  &lt;h4 class="modal-title"&gt;Modal title&lt;/h4&gt;
              &lt;/div&gt;
              &lt;div class="modal-body"&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;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
      $(function () {
          $('#myModal').modal({
              backdrop: true,
              keyboard: false,
              show: false
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p><a href="http://s23.postimg.org/lfotq8xsb/image.jpg" rel="nofollow">http://s23.postimg.org/lfotq8xsb/image.jpg</a></p>