jquery gt() get current index
<p>I'm using <code>gt()</code> to add columns to a table.</p>

<p>I need to use the row number and the column number to build the cell id.</p>

<p>Getting the column number is straightforward:</p>

<pre><code>var c = $("#gridLayout tr:first td").length;
</code></pre>

<p>but how can I get the current index from gt() for the row number?</p>

<pre><code>$("#gridLayout tr:gt(0)").append('&lt;td&gt;.......&lt;/td&gt;');
</code></pre>
