[jQuery] Combining results of two getJSON calls

2009-03-07 Thread Dr. Drang
I'm working on a Twitter webapp, and I want to display both the friends_timeline and replies streams, mixed together in chronological (or reverse chronological) order. (FYI: the replies stream collects tweets from people you *don't* follow as well as people you do. That's why I want both.) I can

[jQuery] combining results

2008-08-25 Thread Jonathan C. Dietrich
What is the easiest way to combine the results from multiple jquery objects. for instance if i want to do an operation with each span and div tag x = $('span'); y = $('div'); x.each(function(){alert('yo');}) y.each(function(){alert('yo');}) is there a way that i can combine x and y in z so