Menu Problem
I have a vector containing a vector
[[code,color,category],[code,color,category],[code,color,category]]
I then pass this vector z to jsp and remove them
for(int s=0; s<rowCount; s++)
{
vector c = (Vector) z.elementAt(s);
The code is then displayed in a ><select> menu
<option value="<%=c.elementAt(0)%>"><%=c.elementAt(0)%></option>
}
What I want to be able to do is to create another object that will be code = color, category; When these are selected I want to be able to display the color and category in 2 text boxes. This is done using javascript.
What I was wondering is about an object to put the values into say array or something that could be easily referenced. The code will be passed back then I want to get the color and category.
Can anyone make a suggestion
Thanks,
Ys

