now i remember something, it's like ("li:1st") or ("li:last")... but i havent tried...
2006/10/17, Steve Ivy <
[EMAIL PROTECTED]>:
I'd try $('#theul li').get(0) and $('#theul li').get($('#theul
li').get().length) perhaps?
--Steve
[EMAIL PROTECTED] | irc: monkinetic|redmonk
> -------- Original Message --------
> Subject: [jQuery] get first and last
> From: "Rafael Santos" <[EMAIL PROTECTED]>
> Date: Tue, October 17, 2006 8:28 am
> To: "jQuery Discussion." < [email protected]>
>
> hey, I am afraid ive forgotten how to get the first and the last element of a <li> list inside a <ul>.... how knows?? =)
>
> ---------------------------------------------------------------------
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
