title: How to auto-detect keyboard input AND auto-focus to input AND enter it into input using js or jquery?
body: <p>OK, I know how to detect keyboard input. I know how to focus on keyboard input.</p>
  <p>But I want to know what the best practice is for detecting keyboard input =&gt; focusing to textarea or textfield =&gt; AND enter that key into the field.</p>
  <p>Here's how it would work: I'm on a page. I type <kbd>A</kbd>. Then my textfield gets focused and <kbd>A</kbd> is typed into the field. This sounds trivial but actually I haven't found a simple way to do this. The reason is because the initial keyboard input event is not directed towards the textfield, and I need to propagate that event to the newly focused text field.</p>
  <p>Is there a conventional approach to doing something like this?</p>