JSFiddle - React, Tailwind, and code Playground

by jcoc611

HTML

<input type="text"/>
<input type="text"/>

CSS

input{width:50px}

JavaScript

$(document).ready(function(){
    $("input").bind("keyup",function(e){
        if(e.keyCode==9){
            var r=document.createRange(),
            gs=getSelection();
            r.setStart(this,0);r.setEnd(this,0);
            gs.removeAllRanges();gs.addRange(r);
        }
    }); 
});