title: Pass keydown event to another textbox
body: <p>I'm trying to pass an <code>keydown</code> event from one textbox to another. What I mean with this is that if you, for example, press the 'a' key, some code should simulate that key as being pressed in the second textbox.</p>
  
  <p>I do not want to just copy the value of the first textbox into the second - it should be on a per-key basis so to say. Suppose the first textbox contains <code>abc</code> and the second textbox is empty, when you then press the 'd' key in textbox 1, textbox 2 should only contain <code>d</code>.</p>
  
  <p>What I already tried is (<a href="http://jsfiddle.net/E5qyr/1/" rel="nofollow">http://jsfiddle.net/E5qyr/1/</a>):</p>
  
  <pre><code>$('#t1').keydown(function(e) {
      $('#t2').keydown(e);
  });
  </code></pre>
  
  <p>But this does not work (I guess I'm thinking too simple). I know I could append the character pressed by looking at <code>e.keyCode</code>, but also 'backspace' etc. has to be working.</p>
  
  <p>Does anybody have an idea to pass a <code>keydown</code> event from one textbox to another?</p>