JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<script type="text/javascript">
function montarRelatorio(){
var divR = document.getElementById("divRelatorio"<img src="http://javafree.uol.com.br/forum/images/smiles/icon_wink.gif">;
var txtR = document.getElementById("txt"<img src="http://javafree.uol.com.br/forum/images/smiles/icon_wink.gif">;
divR.innerHTML = txtR.value;
}
</script>
</head>
<body>
<input type="text" id="txt" onblur="montarRelatorio()"/>
<div id="divRelatorio" style="width:300px; height:200px; border:solid 1px">
</div>
</body>
</html>
CSS
#showedText{
display: none;
}
JavaScript
$(function(){
$('#myTextarea').on('keyup',function(){
$('#showedText').text('Just a test!').stop().fadeIn(700, "linear");
setTimeout(function(){$('#showedText').stop().fadeOut(700, "linear");},2000);
});
});