0
I saw this post (How to take the value of one input and assign to another?
) but I couldn’t adapt to the textarea
.
I have the following HTML, which I want to pass the value of the first textarea to the second:
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container" style="margin-top:100px">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="textoOriginal">Insira seu Texto</label>
<textarea class="form-control" id="texto" class="texto" rows="3"></textarea>
</div>
</div>
<div class="col-md-6">
<label for="textoConvertido">Insira seu Texto</label>
<textarea class="form-control" id="convertido1" name="convertido1" rows="3"></textarea>
</div>
</div>
</div>