This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com