title: Getting the OnClick event when enter is pressed (IE)
body: <p>I have the following code (inherited from someone):</p>
  
  <pre><code>&lt;div class="feedback"&gt;&amp;nbsp;&lt;/div&gt;
     &lt;form onsubmit="return false" autocomplete="off"&gt;
        Enter your guess: 
        &lt;input type="text" size="48" id="guessedword"/&gt;
        &lt;input type="submit" value="Guess!" id="guessbutton"/&gt;
     &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Now, I want to do something when the "Guess!" button is pressed, but I don't want the page to change (i.e. I don't want the form submitted). That's why the onsubmit is mapped to <code>"return false"</code>. I also have the following JQuery: </p>
  
  <pre><code>$("#guessbutton").bind("click", onGuess);
  </code></pre>
  
  <p>The thing is, this works great in Firefox and Chrome. The only problem is IE. The guess button  works correctly, the only problem is that when pressing <code>Enter</code> in the <code>text</code> field, the button isn't pressed, or at least the onClick behavior is never called. In Firefox and Chrome, it works great.</p>
  
  <p>Is there any way to make this work the way I want it? Or am I going about this whole thing the wrong way? (I'm new to HTML, so I'm not even sure this is the right way to do things).</p>
  
  <p>Thanks</p>