title: IE not triggering keyboard event on a form with ONE FIELD
body: <p>I'm seeing my Friend's code here... </p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
  &lt;HTML&gt;
  &lt;HEAD&gt;
  &lt;TITLE&gt; Check action &lt;/TITLE&gt;
  
  &lt;script&gt;
  
      function detectEvent(){
      if(window.event.keyCode==13)
          {
              alert("you hit return!");
          }
  
      }
  &lt;/script&gt;
  
  
  &lt;/HEAD&gt;
  
  &lt;BODY&gt;
      &lt;form name="name1" onkeyup="detectEvent()" action="page2.html"&gt;
          &lt;p&gt; Field1
              &lt;input type="text" id="text1"/&gt;
          &lt;/p&gt;
      &lt;/form&gt;
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>and when he tried entering a value in the textbox and pressed enter, it did not call the detectEvent(). I said, it'll always call onSubmit on enter button.....
  and he surprised me, </p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
  &lt;HTML&gt;
  &lt;HEAD&gt;
  &lt;TITLE&gt; Check action &lt;/TITLE&gt;
  
  &lt;script&gt;
  
      function detectEvent(){
      if(window.event.keyCode==13)
          {
              alert("you hit return!");
          }
  
      }
  &lt;/script&gt;
  
  
  &lt;/HEAD&gt;
  
  &lt;BODY&gt;
      &lt;form name="name1" onkeyup="detectEvent()" action="page2.html"&gt;
          &lt;p&gt; Field1
              &lt;input type="text" id="text1"/&gt;
          &lt;/p&gt;
          &lt;p&gt; Field1
              &lt;input type="text" id="text2"/&gt;
          &lt;/p&gt;
      &lt;/form&gt;
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>Now press enter, The function gets called.....
  Why so!? </p>
  
  <p>Why onKeyUp not called on forms with just one field.!!! am i missing something?</p>