title: Handlebars form submit does not work
body: <p>I have a form that within a handlebars put the submit does not work, I have to do? Can anyone help?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;script id="chat-window-template" type="text/x-handlebars-template"&gt;
        &lt;a href="#" class="close"&gt;&lt;i class="fa fa-times"&gt;&lt;/i&gt;&lt;/a&gt;
        &lt;a href="#"&gt;
          &lt;span class="pull-left"&gt;
          &lt;img src="{{ user_image }}" width="40"&gt;
          &lt;/span&gt;
          &lt;span class="contact-name"&gt;{{user}}&lt;/span&gt;
        &lt;/a&gt;
      &lt;div class="panel-body" id="chat-bill"&gt; 
   &lt;form id="messageForm"&gt;
      &lt;input id="nameInput" type="hidden" class="input-medium" value="Macbook" /&gt;
      &lt;input id="messageInput" type="text" class="form-control" placeholder="Digite uma mensagem..." /&gt;
      &lt;input type="submit" value="Send" /&gt;
   &lt;/form&gt;
     &lt;/div&gt;
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <pre><code>$("#messageForm").submit( function() {alert();});
  </code></pre>