[Javascript] OT: linebreak in textarea
Flavio Gomes
flavio at economisa.com.br
Mon May 24 11:35:58 CDT 2004
I'd like to call everyone attention to read again the message and
realise that Shawn replied to this without a RegExp.
---
Flavio Gomes
flavio at economisa.com.br
Shawn Milo wrote:
>----- Original Message -----
>From: "Paul McGuire" <pmcguire at cguk.co.uk>
>Date: Mon, 24 May 2004 15:09:00 +0100
>To: "[JavaScript List]" <javascript at LaTech.edu>
>Subject: Re: [Javascript] linebreak in textarea
>
>
>
>>My JavaScript is populating a textbox.
>>
>>
>>
><snip>
>
>A text box (input type="text") is not
>multi-line. A text area (<textarea></textarea>)
>is multi-line.
>
>Shawn
>
>
>My test:
>
> <form id="testForm" method="post" action="./action.php">
>
> <input type="text" id="txtTest" onclick="this.value= 'test\ntest';" />
> <br/>
>
> <textarea rows="10" cols="10" id="taTest" onclick="this.value= 'test\ntest';"></textarea>
> <br/>
>
> </form>
>
>
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
More information about the Javascript
mailing list