Good morning a greeting I have this table that has 3 rows and 4 columns ..
<table>
<tr>
<td>columna 1</td>
<td>columna 2</td>
<td>columna 3</td>
<td>columna 4</td>
</tr>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
<td>d</td>
</tr>
<tr>
<td>e</td>
<td>f</td>
<td>g</td>
<td>h</td>
</tr>
</table>
What I want is that when darclick on the element td that has the value d and h, as a result an alert with the value a and e respectively ...
That is to say when clicking on the cells in column 4, I get the result of column1 of that same row.
thanks