Build custom jQuery selection
<p>Ok anybody familiar with building your own custom jQuery selection from DOM nodes or jQuery objects?</p>

<p>For examle:</p>

<pre><code>var li = jQuery('li.someclass');
var myDiv = jQuery('#mydiv');
</code></pre>

<p>So I would like to combine those two into one <code>jQuery(object)</code> .</p>

<p>It would be nice if it can be done 
dynamically using nodes cached in variables like the provided example.
BR and 10x for your kind help</p>
