title: focus and type into input field when typing outside the input field with javascript
body: <p>as the title states, i want to type into the input field when im typing outside the input field.<br>
  with the current code i can get focus on the input field when im typing outside, but cant seem to get the key i pressed appear on it. pls help.. </p>
  
  <p>like on <a href="http://google.com" rel="nofollow">google.com</a> when you are typing without focusing the input field.</p>
  
  <pre><code>&lt;form id="searchForm" name="search"&gt;
  &lt;input id="searchBox" name="search_text"&gt;
  &lt;/form&gt;
  
  &lt;script type="text/javascript"&gt;
  
          $("body").on("keyup", function(e) {
              $("#searchForm[name='search_text']").focus();
          });
  &lt;/script&gt;
  </code></pre>