title: Dynamic onkeydown not working on children with contentEditable parent
body: <p>Anyone got an idea why this doesnt work? Im tyring to add the listener to the children rather than to the body so I can later disable certain keystrokes (like the return key). </p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;script type="text/javascript"&gt;
  function test(){
      var divs = document.getElementsByTagName('div');
      for(i in divs){
          divs[i].onkeydown=function(event){alert('ok:'+event)}
      }
  }
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body onload='test()' contentEditable ="true"&gt;
  &lt;div&gt;test 1&lt;/div&gt;
  &lt;div&gt;test 2&lt;/div&gt;
  &lt;div&gt;test 3&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>UPDATE:</p>
  
  <p>Preferably, Is there any way to prevent bubbling to the child div if I put the listener on the parent tag? I basically need to occasionally disallow return breaks in this setup.</p>