title: how to trigger modal when a input clicked?
body: <p>i want trigger bootstrap modal when i click in the text input, how can i do this with jquery?</p>
  
  <pre><code>&lt;div id="myModal" class="modal fade" role="dialog"&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&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;
  </code></pre>
  
  <p>
  </p>