jQuery selection within selection
<pre><code> $('#addrow').click(function(){
     $('input').not(':visible').slice(0,1).addClass('required');
     $('.row').not(':visible').first().removeClass('hide'); 
 }
</code></pre>

<p>I want the <code>$('input').not(':visible')</code> selected <em>only if</em> within <code>$('row').not(':visible')</code>.</p>

<p>How do I chain these two together for the first line of the function, please? Thanks!</p>
