C
Camet
I have a table with a dynamic number of rows and cells. From the
nature of the script I am writing, I cannot use IDs.
Each row has from 1 to 3 cells. Javascript tables have cells[] and
rows[].
cells [] is an array of all the cells of the table, supposedly 1D.
rows [] is an array of all the rows of the table. You can grab the
cells from the row click.
I wish to go the other way
Is there any way to find out what row was clicked on by the mouse when
the left most cell is clicked but the script ignores the rest of the
cells in the row.
nature of the script I am writing, I cannot use IDs.
Each row has from 1 to 3 cells. Javascript tables have cells[] and
rows[].
cells [] is an array of all the cells of the table, supposedly 1D.
rows [] is an array of all the rows of the table. You can grab the
cells from the row click.
I wish to go the other way
Is there any way to find out what row was clicked on by the mouse when
the left most cell is clicked but the script ignores the rest of the
cells in the row.