thank´s you understand me!
From: Ralph Whitbeck Sent: Tuesday, September 15, 2009 11:01 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: [ first quest...] So if I understand what you're trying to do correctly. You want to select the first p tag that has the index of 0 in the matched set AND you want to select all p tags after the 5th index in the same matched set. This will do that: $("p:eq(0), p:gt(5)"); Documentation: http://docs.jquery.com/Selectors/eq#index http://docs.jquery.com/Selectors/gt#index http://docs.jquery.com/Selectors/multiple#selector1selector2selectorN On Tue, Sep 15, 2009 at 8:57 PM, Lord Gustavo Miguel Angel <goosfanc...@gmail.com> wrote: Hi, I have 3 or more <p> label. How i do to do this: if (p:eq(..) == 0) .and. p:eq() > 5) then ... endif Thank´s