BatCountry
08-23-2007, 02:08 AM
Is it possible to interact with a textarea field:
<textarea id="list"></textarea>
I have a textarea where you can enter one item per a line, and I want to be able to get each new line in the textarea. I can't find any way with the DOM to get how many rows are in the textarea and how to know what is each row.
Anyone give a hand?
<textarea id="list"></textarea>
I have a textarea where you can enter one item per a line, and I want to be able to get each new line in the textarea. I can't find any way with the DOM to get how many rows are in the textarea and how to know what is each row.
Anyone give a hand?