Hello..please help with my problem since Im new in using
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
<TABLE>
<TR>
<TD>xyz</TD>
<TD>xxx</TD>
</TR>
<TR>
<TD>abc</TD>
<TD>aaa</TD>
</TR>
</TABLE>
So if I click cell with xyz value, it should return xyz and xxx values.
Im thinking of using onClick in TD tag then get the values as arguments
for the function.
<TD onClick="GetVal(this);">xyz</TD>
is this possible?
how can i manipulate the values sent to the function?
please help me..