title: Submit form on Enter key with javascript
body: <p>I'm not sure what I am doing wrong here. I want the enter key to work as well as clicking the button.</p>
  
  <pre><code>&lt;form action="" method="get" class="priceOptionForm" name="priceOptionForm"&gt;
  &lt;input name="paypal_email" type="text" value="whatever" id="email"&gt;&lt;/label&gt;
  &lt;a href="javascript:void(0);" class="bluebtn" id="profile_price" style="width:60px;margin-top:5px;"&gt;Save all&lt;/a&gt;
  &lt;/form&gt;
  </code></pre>