jQuery using store selector to find child elements
<p>I often use the <code>this</code> keyword within a <code>foreach</code> loop to select a child element of <code>this</code></p>

<pre><code>$('.width', this).val();
</code></pre>

<p>But can I do the same with a stored variable?  Something like:</p>

<pre><code>var window = $('#window');
$('.width', window).val();
</code></pre>

<p>I would like to store <code>$('#window')</code> as it's used often in my code.  I thought I could use the above method, but it is not working for me.</p>

<p><strong>UPDATE</strong>
The element in question that I'm looking for is:</p>

<pre><code>&lt;div id="window"&gt;
    &lt;input class="width" type="text" /&gt;
&lt;/div&gt;
</code></pre>