Having a table like...\[code\]<table border="1" style="width: 100%" id="mytab1"><tr id="A1"> <td>100</td> <td>John</td> <td>Doe</td> <td>Someplace</td> <td> <input type="submit" value="http://stackoverflow.com/questions/14476487/Submit" /> </td></tr><tr id="A2"> <td>101</td> <td>Jane</td> <td>Doe</td> <td>Someplace</td> <td> <input type="submit" value="http://stackoverflow.com/questions/14476487/Submit" /> </td></tr>\[/code\]I'm trying to get the value of the first cell in a row, in which I've pressed the "Submit" button. I'm a newbie in this. This is an example, but I'm really working on a dynamically created html table in a jsp page, similar to this How to get cell data of specific row from the dynamically created HTML table? question. I just can't get it working.