A way to get the table param
<p>I have an HTML table and I need to get the parameter of the cell I click on using jQuery.
How would I do this?</p>

<p>I need to get the 3rd row, 4th column. Here is what I have so far</p>

<pre><code>var tr = $(this).parent();
for (var i = 0; i &lt; tr.children().length; i++) {
    if (tr.children().get(i) == this) {
        var row = i + 1;
        break;
    }
}
</code></pre>
