How can I get values of TDs inside an HTML table?i.e.\[code\]| ID | cell 1 | cell 2 || 1 | aaaa | a2a2a2 || 2 | bbbb | b2b2b2 || 3 | cccc | c2c2c2 |\[/code\]So now if I click on the cell value: "bbbb" I want to get all the values of selected row: \[code\]$id='2'; $cell_1='bbbb'; $cell_2='b2b2b2';\[/code\]NOTE: I'd like to use JavaScript and not jQuery.