Suppose you have a table of items, each item has its own unique row. Each row has a button which, when selected, allows you to change the data in any one of the cells for the item in that particular row. If the button has a name attribute and a value which is identical for every row, how do you know which particular button was clicked?
Does html allow you to use a variable for an attribute, like so:
String row = "one" ;
<input name=' + row + ' type=submit method=post>
Or is there some other way to label each row of table data within a table so you can identify all of the infomation in any one row exclusive of the other rows?
I'm trying to access each row of table data by clicking a button in the last cell of each row. Since all of the buttons have the same value, how do I determine which particular button was clicked?