I'm having difficulty assigning an array (called rows) from my jsp page to a var within the jsp.
I'm been trying things like:
var myArray = document.forms.rows
var myArray = document.forms.elements.rows
but the results are always invalid. I know that the name is correct, because when I cycle through the elements on the form the names of the elements within the array (rows.name etc) show up.
This is the value I want to transfer.
In any event, <nested:iterate> will produce the following code:
var val1 = document.forms.elements.value
In the above case, the value of the variable val1 would be whatever was typed into the text field named data1.