title: How to make a button to be clicked when enter is pressed using bookmarklet?
body: <pre><code>&lt;td align="center" width="100%"&gt;
                          &lt;input type="button" value=" Next " id="validate"&gt;&lt;a id="new:new" href="#" onclick="mojarra.jsfcljs(document.getElementById('Form'),{'Form:Proceed':'Form:Proceed'},'');return false"&gt;&lt;/a&gt;
                          &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
                          &lt;input id="Form:reset" type="submit" name="Form:reset" value="Reset"&gt;
                      &lt;/td&gt;
  </code></pre>
  
  <p>This is the code above. I just want that after filling up the previous text field, when I press enter, the "Next" button gets clicked. Here "Reset" button is assigned as SUBMIT.</p>
  
  <p>Please show me the javascript code using bookmarklet.</p>