Hi,
In my HTML, I have a series of tables within a form. Each table has 6 text boxes from which I want to retrieve the text entered.
The form is called "mainMenu". The tables are called "table1", "table2", ... And, the text boxes are called "text1", "text2", ... (exciting huh?)
If I name the textboxes distinctly, I can get at the value as follows: mainMenu.myUniqueBox.value
However, I wish to name the tables distinctly and use the tables to get at the text boxes that are not unique. I thought the following would work (but it does not): mainMenu.myUniqueTable.myBox.value
Any ideas? Can you get to tables, table rows, and table cells from within JavaScript? If so, how?
I am not sure that I explained myself well. If clarification is needed, just ask.
Thank you for your help.
In my HTML, I have a series of tables within a form. Each table has 6 text boxes from which I want to retrieve the text entered.
The form is called "mainMenu". The tables are called "table1", "table2", ... And, the text boxes are called "text1", "text2", ... (exciting huh?)
If I name the textboxes distinctly, I can get at the value as follows: mainMenu.myUniqueBox.value
However, I wish to name the tables distinctly and use the tables to get at the text boxes that are not unique. I thought the following would work (but it does not): mainMenu.myUniqueTable.myBox.value
Any ideas? Can you get to tables, table rows, and table cells from within JavaScript? If so, how?
I am not sure that I explained myself well. If clarification is needed, just ask.
Thank you for your help.