Getting the first table cell value in a column with jQuery
<p>I have a table with some values. The first row and first column contain values of such called vertical and horizontal sizes respectfully. What I need to do is to click on a table cell and get the horizontal and vertical values for that clicked table cell. What it basically means - get the value of first table cell in the row where the clicked table cell is located and get the first table cell value of the column where the clicked table cell is located. I'm getting the horizontal value with the following code:</p>

<pre><code>var horizSize = $('th:first', $(this).parents('tr')).text();
</code></pre>

<p>But I'm not sure how to do that for the vertical line. How to get to the first table cell value of the column?</p>

<p>Thanks for helping. </p>
