Thanks for the suggestion! That sort of works, but it's also getting the <p> tags AFTER the next H5, and I don't want it to.
On May 27, 1:24 pm, "Mauricio \(Maujor\) Samy Silva" <css.mau...@gmail.com> wrote: > Try: > $('h5').nextAll('p'); > > Maurício > -----Mensagem Original----- > De: Andy > Para: jQuery (English) > Enviada em: quarta-feira, 27 de maio de 2009 14:11 > Assunto: [jQuery] selecting next()'s until I reach a tag > > Is there a way for me to add the next several blocks until I get to a > specific tag?