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.