Hi Michael,

If p < 5 and p > 3, isn't p = 4?

$("p:eq(4)")  :)

Otherwise, Klaus's option works:

$("p:lt(5)").filter(":gt(3)")


___________________
Karl Swedberg
www.englishrules.com


On Aug 21, 2006, at 9:41 AM, Michael Fuerst wrote:

> Hi,
>
> how do I combine lt and gt?
>
> $("p:lt(5):gt(3)") or $("p:lt(5) gt(3)") doesn't seem to work...
>
> michael
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to