C
CiscoGuy
Is it possible to read each line from a HTML textarea into a
javascript array. For example:
If I were to input into the textarea:
1
4
6
3
Could I somehow have javascript read it so:
array[1]=1
array[2]=4
array[3]=6
array[4]=3
And also, is it possible to find how many lines long a textarea is?
Thanks for the help, it is greatly appreciated.
javascript array. For example:
If I were to input into the textarea:
1
4
6
3
Could I somehow have javascript read it so:
array[1]=1
array[2]=4
array[3]=6
array[4]=3
And also, is it possible to find how many lines long a textarea is?
Thanks for the help, it is greatly appreciated.