title: autofocus on input in bootstrap modal
body: <p>I'm using bootstrap 3 to create a modal box. I want to have it <code>autofocus</code> on the <code>input</code> area. I tried with jQuery, but I don't know, what is the problem?</p>
  
  <p>JavaScript:</p>
  
  <pre><code>$('#click').click(function () {
      $('input').focus()
  });
  </code></pre>
  
  <p>Here is a <a href="http://jsfiddle.net/48zceqnw/1/" rel="nofollow noreferrer">demo on JSFiddle</a></p>