title: How to get html table td cell value by JavaScript?
body: <p>I have an HTML table created with dynamic data and cannot predict the number of rows in it. What I want to do is to get the value of a cell when a row is clicked. I know to use td onclick but I do not know how to access the cell value in the Javascript function.</p>
  
  <p>The value of the cell is actually the index of a record and it is hidden in the table. After the record key is located I can retrieve the whole record from db.</p>
  
  <p>How to get the cell value if I do not know the row index and column index of the table that I clicked?</p>