JSFiddle - React, Tailwind, and code Playground
by dying_sakura
HTML
<input type="textbox" id="testtext" />
<input type="textbox" />
JavaScript
$('body').keyup(function(e) {
if(e.keyCode == 13) {
$('#testtext').focus();
}
});
by dying_sakura
<input type="textbox" id="testtext" />
<input type="textbox" />
$('body').keyup(function(e) {
if(e.keyCode == 13) {
$('#testtext').focus();
}
});