HTML and javascript.
I have this table that has rows and columns.
Hello..please help me with my problem since Im new in using
HTML and javascript.
I have this table that has rows and columns.
When i click the value of the cell, it will return
the values of the cells of the same row.
Example
Expand|Select|Wrap|Line Numbers
- <TABLE>
- <TR>
- <TD>xyz</TD>
- <TD>xxx</TD>
- </TR>
- <TR>
- <TD>abc</TD>
- <TD>aaa</TD>
- </TR>
- </TABLE>
Im thinking of using onClick in TD tag then get the values as arguments
for the function.
Expand|Select|Wrap|Line Numbers
- <TD onClick="GetVal(this);">xyz</TD>
how can i manipulate the values sent to the function?