Click to See Complete Forum and Search --> : Traverse a HTML table and read cell values


chino8
12-21-2003, 11:39 AM
Hi. I have a dynamically created Html table with values retrieved from a db table into text input fields and at the end of each Row, I have a checkbox field.

I want the user to edit and check those rows that needs to be updated in the database, once submit button is clicked.

So my problem is that I don't know how I can go through each row of the table, evaluate if the checkbox is marked and if it is, I want to send the textbox values to another function that will update the database (this last part I know how to...)

My guess is this is to be done with JSP, and any type of help/advice will be greatly appreciated.

Thanks!
hyun chang

Scriptage
12-21-2003, 06:00 PM
if(document.formName.checkBoxName.checked){
do this
}