title: input text return event in Meteor
body: <p>I want to capture the event of a user pressing enter on an input of <code>type="text"</code> when they are filling out a form. This is done all over the web, yet the answer eludes me. </p>
  
  <p>This is what I have so far:</p>
  
  <p>In the html file, I have a text input like so:</p>
  
  <pre><code>&lt;input type="text" size=50 class="newlink"&gt;
  </code></pre>
  
  <p>In the Javascript file, I am trying to capture the the user pressing enter to effectively submit the form. I am then grabbing the text from the input and going to stash it in the database:</p>
  
  <pre><code>  Template.newLink.events = {
      'submit input.newLink': function () {
        var url = template.find(".newLink").value;
        // add to database
      }
    };
  </code></pre>