JSFiddle - React, Tailwind, and code Playground

by Marcos Nakamine

HTML

<!DOCTYPE html>
<html>
<head></head>
<body>

<textarea id="iptDetalhesCopia"></textarea>
<input onkeyup="FuncaoTeste( this.value )" type="text" class="form-control" id="iptDetalhes">

</body>
</html>

JavaScript

function FuncaoTeste( e ) {
   document.getElementById( 'iptDetalhesCopia' ).value = e;
}