Note that there are some explanatory texts on larger screens.

plurals
  1. POBootstrap 3 modal form not appearing
    text
    copied!<p>I have this simple modal form done with Bootstap 3, and I have no clue why it's not appearing when I click on the button.</p> <pre><code>&lt;div id="modal" class="modal hide fade in" style="display: none;"&gt; &lt;div class="modal-header"&gt; &lt;a class="close" data-dismiss="modal"&gt;×&lt;/a&gt; &lt;h3&gt;Some title&lt;/h3&gt; &lt;/div&gt; &lt;div class="modal-body"&gt; &lt;form id="modal-form" accept-charset="UTF-8" action="/mailing" data-remote="true" method="post"&gt; &lt;label&gt;Name:&lt;/label&gt; &lt;input type="text" class="span6"&gt; &lt;label&gt;Email:&lt;/label&gt; &lt;input type="text" class="span6"&gt; &lt;label&gt;Message:&lt;/label&gt; &lt;textarea type="text" class="span12" rows="4"&gt;&lt;/textarea&gt; &lt;/form&gt; &lt;/div&gt; &lt;div class="modal-footer"&gt; &lt;a href="#" class="btn btn-success"&gt;Send&lt;/a&gt; &lt;a href="#" class="btn" data-dismiss="modal"&gt;Cancel&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>And this is the button that should make this modal window appear when clicked:</p> <pre><code>&lt;p class="text-center"&gt; &lt;a data-toggle="modal" href="#modal" class="btn btn-success btn-lg"&gt; &lt;span class="glyphicon glyphicon-envelope"&gt;&lt;/span&gt; Message me &lt;/a&gt; &lt;/p&gt; </code></pre> <p>It is not much different to the example codes I've seen around the web, but I can't make the modal window to appear.</p> <p>Any idea why it's not working?</p> <p>Edit:</p> <p>This is how I'm including the Bootstrap JS files:</p> <pre><code>&lt;link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"&gt; &lt;link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" /&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload