title: Bootstrap form submission
body: <p>I am trying to use the following search function <a href="http://bootsnipp.com/snippets/featured/search-box" rel="nofollow">found on Bootsnip</a>.</p>
  
  <p>I was hoping that this would submit when I press enter, but it only submits when press tab and highlight the search button or click on the button. Is there any way to alter this code so that it works upon pressing "Enter" on the keyboard.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>&lt;div class="container"&gt;
      &lt;div class="row"&gt;
          &lt;div class="col-lg-3"&gt;
              &lt;div class="input-group custom-search-form"&gt;
                &lt;input type="text" class="form-control"&gt;
                &lt;span class="input-group-btn"&gt;
                &lt;button class="btn btn-default" type="button"&gt;
                &lt;span class="glyphicon glyphicon-search"&gt;&lt;/span&gt;
               &lt;/button&gt;
               &lt;/span&gt;
               &lt;/div&gt;&lt;!-- /input-group --&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>