Can you explain how that code works? I'm having a little trouble wrapping my head around it...
also, it seems like it does a good job of splitting (although I'm getting an error, initially), but I need to retain an index of ordering between the two types, so I know that ungrouped comes before grouped and that ungrouped is between grouped and grouped.
you see, once i have identified the grouped and ungrouped sections, they have to be processed and then reassembled into a similar div.
Last edited by singedpiper; 04-18-2013 at 09:11 PM..