JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://www.ezcodez.com/css/default.css">
<link rel="stylesheet" href="http://www.ezcodez.com/css/plugin.css">
<div id="inputArea1">
  <input id="input1" />
  <input id="input2" />
</div>

JavaScript

$("#input2").keydown(
  function() 
  {
    if(event.which == 9)
    {
      event.preventDefault();
      $("#input1").focus();   
      $("#input1").css({background: 'yellow'})  // just to see it
    }
  }
);