[jQuery] :eq vs :nth?
[jQuery] :eq vs :nth?
Ah, thanks for that. I'll check the code next time.
Matt
________________________________________
From: <a href="mailto:jquery-en@googlegroups.com">jquery-en@googlegroups.com</a> [mailto:<a href="mailto:jquery-en@googlegroups.com">
jquery-en@googlegroups.com</a>] On Behalf Of Karl Swedberg
Sent: Friday, August 03, 2007 2:18 PM
To: <a href="mailto:jquery-en@googlegroups.com">jquery-en@googlegroups.com</a>
Subject: [jQuery] Re: :eq vs :nth?
They're the same, so you can use whichever you prefer.
From jquery.js:
nth: "m[3]-0==i",
eq: "m[3]-0==i",
--Karl
_________________
Karl Swedberg
<a href="http://www.englishrules.com">www.englishrules.com</a>
<a href="http://www.learningjquery.com">www.learningjquery.com</a>