Thx guys both solutions work very good and my guestbook look perfect. The next i want to do is study to resolve howto implent something like a pagination withount "next page", only with the mousewheel and ajax callback
But, this is other story ;) thx again ----- Mensaje original ---- De: Joel Birch <[EMAIL PROTECTED]> Para: jquery-en@googlegroups.com Enviado: martes 5 de junio de 2007, 12:34:18 Asunto: [jQuery] Re: Problem getting first paragraph On 06/06/2007, at 1:30 AM, Joel Birch wrote: > $('p:first','#book .page').each(function(){ > /* do stuff ... */ > }); Actually, :first may only ever return one element, maybe this works better: $('p:eq(0)','#book .page').each(function(){ /* do stuff ... */ }); Sorry for the hit-and-miss postings. I'll stop now. Joel. __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas