Hi ,

I am dynamically created cells for a table at runtime on an jsp form. The last
cell of each row contains a Textfield in which the user will enter
values into.

My Problem:

How do I capture the values in each text field once the user continues
(click button) to the next screen??


my javascript for creating the cell anong with other tools are given below.


function addRow(tableID)
{
var table = document.getElementById(tableID);
var rowCount = table.rows.length;
var row = table.insertRow(rowCount);
var cell1 = row.insertCell(0);
var element1 = document.createElement("input");
element1.type = "checkbox";
cell1.appendChild(element1);
cell1.align="center";
var cell2 = row.insertCell(1);
cell2.align="center";
cell2.innerHTML = "Evaluation Criteria " + rowCount;
var cell3 = row.insertCell(2);
var element2 = document.createElement("input");
element2.type = "text";
element2.size="40";
cell3.appendChild(element2);
}



If you could possibily post me an example of how to do this I would be
most grateful.

Thanks in advance.