How do you combine two jQuery search results? eg:
var $allFoos = $('.foo'),
$allBars = $('.bar')
$allFoosAndBars = $allFoos + $allBars
;
Obviously, I just made up that last line, but I hope it makes it sorta clear what I mean. To be clear, the example is greatly simplified, and it could be any arbitrary sets i'm talking about, so $('.foo, .bar')
is not what I'm after.