[jQuery] Re: Replace an element with only opening or close element tag

2009-07-17 Thread Charlie
might consider using a filter to locate the elements between the hr's and use wrapAll(), then remove the hr's Liam Byrne wrote: If you do what you're thinking, then every second content element would be OUTSIDE of any What (I think) you need to do is: FIRST : OPEN DIV LAST

[jQuery] Re: Replace an element with only opening or close element tag

2009-07-17 Thread Liam Byrne
If you do what you're thinking, then every second content element would be OUTSIDE of any What (I think) you need to do is: FIRST : OPEN DIV LAST : CLOSE DIV EVERY IN-BETWEEN CLOSE DIV FOLLOWED BY OPEN DIV If you don't do all of those in a single step, however, I'd suspect that the brow