title: form submit with enter key pressed or click submit button
body: <p>I have a form that I want the user the be able to use the </p>
  
  <p>Enter key or Click on the button to submit it.</p>
  
  <p>Here is the code I have:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;link href="style.css" rel="stylesheet" type="text/css" /&gt;
  &lt;title&gt;Blah&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
  function SetSrc()
  {
  document.getElementById("myIfreme1").src = 'http://' +   
  document.getElementById("txtSRC").value;
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form&gt;
  Enter URL:  http://
  &lt;input type="text" id="txtSRC" /&gt;
  &lt;input type="button" value="GO" onclick="SetSrc()" /&gt;
  &lt;/form&gt;
  &lt;div style="clear:both"&gt;320 width&lt;/div&gt;
  &lt;iframe id="myIfreme1" src="" frameborder="0" marginwidth="0" height="480" width="320" 
  scrolling="yes"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thanks for your help.</p>