title: JavaScript Two key pressed at the same time
body: <p>How to get at the same time two codes when i have pressed two keys on the keyboard?</p>
  
  <p><strong>In it, I only get one keyCode...</strong></p>
  
  <pre><code>document.onkeydown = function(e)
  {  var key = e.keyCode ? e.keyCode : e.which;
     text.innerHTML += key; };            
  </code></pre>