How to count elements inside an element specified by object?
<p>I bet this has a simple answer.</p>

<p>I want to count the number of TD elements inside a row, yet i can't seem to find the right syntax.</p>

<pre><code>var row = $('#album_cell'+currentCell).parent();
var n = $("td",row).length();
</code></pre>

<p>This returns an error obviously as i don't know how to specify that. Any help?</p>
