I don\'t know JQuery, so I\'m hoping there is a way to do this in pure Javascript.
I need to click on a table row and get the value of each cell in that row. Here i
var elements = document.getElementsByTagName('td'); for (var i =0; i < elements.length; i++) { var cell_id = 'id' + i; elements[i].setAttribute('id', cell_id); }
Maybe put something like this in function your onclick links to from the tr?
tr