3
I am developing a javascript to popular a text box, but I came across a situation that is causing me difficulty. Need popular with this message for example:
TEST
TEST
TEST
But I’m not getting to bring the line breaks when I populate the field, I tried with /n,<br>, </ br>, vbCrLf
, but I did not succeed. Someone could help me.
Pointing out that my html text box is like this:
<td colspan="2">
<textarea id="teste" class="CaixaTexto" runat="server" style="width: 600px;
height: 90px;" cols="97" rows="5"></textarea>
</td>
Att,
Tried to
\n\r
? Or even just\n
?– Felipe Avelar
I tried the
\n\r
and it worked. Thank you very much!– user2992172