IT79637
asked on
How to determine html table row clicked?
I have a table, where each row has a text field in it. However, the first row of the column is reserved for the description. The text fields are named amt1, amt2, amt3,...,amt10. When I click on one of the text area fields, how can I determine the row number of the table using javascript?
So if I click into the text area in row 4 (relative 0), I know that I have clicked into 4th text area and the name is amt4.
Screen shot below.
Thanks
HTML2.jpg
So if I click into the text area in row 4 (relative 0), I know that I have clicked into 4th text area and the name is amt4.
Screen shot below.
Thanks
HTML2.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.