title: jQuery call model by clicking on label
body: <p>I'm trying to implement a feature when a user click on a label a modal pop up.</p>
  
  <p><strong>Problem</strong></p>
  
  <ul>
  <li>I can't open using a Label element, but if i use a button (with the same code) it works.</li>
  <li>if i remove the comment on the hello, i can see the alert (so the code enter on the jquery statement</li>
  </ul>
  
  <p>This is my code (just a code from the bootstrap site)</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;label id="some-label"&gt;Something&lt;/label&gt;
  
  &lt;!-- Modal --&gt;
  &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"&gt;
    &lt;div class="modal-dialog" role="document"&gt;
      &lt;div class="modal-content"&gt;
        &lt;div class="modal-header"&gt;
          &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;&lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;&lt;/button&gt;
          &lt;h4 class="modal-title" id="myModalLabel"&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;
  </code></pre>
  
  <p><strong>JS</strong></p>
  
  <pre><code>$('#some-label').on('click', function() {
       //alert("hello"); 
       $('#myModal').show();        
   });
  </code></pre>