How can I perform an action on two jQuery objects?
<p>Let's suppose I have a function that is passed multiple jQuery objects.</p>

<pre><code>function manipulateStuff(obj1, obj2) { /* ... */ }
manipulateStuff($("div"), $("h1"));
</code></pre>

<p>Now let's suppose I want to perform some actions on both of them. </p>

<p>I can always repeat the code for each, or write some code that loops through them, but I don't feel like doing that. I want some way of combining the elements of multiple jQuery objects. The following code doesn't work, but it demonstrates the sort of thing I'm looking for</p>

<pre><code>$(obj1, obj2).css("color", "red");
</code></pre>

<p>Is there already a way to do this built in to jQuery? If not, can I write a small plug-in to do it?</p>

<p><strong>EDIT:</strong> to be clear, I'm manipulating <em>jQuery objects</em>, not string selectors. I am already aware of the comma operator in selectors.</p>
