You should be able the use $(":header") selector to select all of the headers simultaneously. I imagine they'd be stored in the document order, but I haven't tried it.
Larry On Dec 24, 9:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I want to select some items on my page in the order they appear, but > it seems that jQuery selects them in the order that my selectors are > written instead. So: > > $('h1,h2,h3') > > gets me all the h1s, then all the h2s, then all the h3s. Is there a > way to get them in the order they appear in my document instead? > Barring that, it's almost like I need a way to say "select all the > h2's after this h1 UNTIL you find another h1 or an h3 ... " > > Any help would be appreciated!! > > Rebeccahttp://blog.rebeccamurphey.com