The code below will show a functional selectbox which adds selections into a text area.
I cannot figure out how to iterate the array so that everytime the select box changes, an increasing value (0,1,2,3,4,5) gets configured for the Array's Identifier.
does concat() help with this?
Later ON, I'll want to allow the user to remove something from the array.
does slice() work with this?
Here is my code so far.
var valary = new Array();
document.grab.textarea1.value+=val + " ";
valary = val;
ct = valary;
<form name=grab method=post action=next.php>
<Select NAME=Choice onChange= "writeval();">
<OPTION VALUE = "Football">Football</OPTION>
<OPTION VALUE = "Baseball">Baseball</OPTION>
<OPTION VALUE = "Hockey">Hockey</OPTION>
<textarea readonly name=textarea1 rows=5 cols=50></textarea></td></tr>