jQuery - Can I combine object reference with other selectors?
<p>Occasionally I pass an 'object' to jQuery rather than an id or other selectors. For example</p>

<pre><code>&lt;input type="text" onclick="doit(this)" /&gt;

&lt;script type="text/javascript"&gt;
function doit(e) {
    var a = $(e).val();
}
</code></pre>

<p>It is useful when ids are not convenient such as long lists of elements or dynamically created input fields. I actually have seen any examples of passing the object. I just tried it and it works.</p>

<p>My question is: can I combine object selector with other selectors such as I would with ids. so instead of:</p>

<pre><code>$("#myDiv .myClass").something()
</code></pre>

<p>I wouldn't know how to code it - something like this maybe:</p>

<pre><code>$(e + " .myclass").something
</code></pre>

<p>thanks</p>
