JSFiddle - React, Tailwind, and code Playground
by nosfan1019
HTML
<input type="text" class='aaa' />
<input type="text" class='' />
<span class="ccc"></span>
JavaScript
$("input.aaa").bind("keydown", function(e){
if (e.keyCode == 13 || e.keyCode == 9) {
$('span.ccc').text($('input.aaa').val());
$(this).next().focus();
return false;
}
});