[jQuery] Re: eq() driving me nuts...

2008-12-15 Thread Karl Rudd
There shouldn't be 2 elements with the same id. Try using a class. There are no "a" elements inside the "div"s. I presume this is just a cut and paste error? Karl Rudd On Tue, Dec 16, 2008 at 9:24 AM, asrij...@googlemail.com wrote: > > Hi Guys, > > gotta problem here and i don't know why it oc

[jQuery] Re: eq() driving me nuts...

2008-12-15 Thread Rik Lomas
It's probably due to the fact that you're only allowed one id on the page at a time, $('#example') should only ever return one element, which is probably why $('#example:eq(1)') isn't working There's more on this here: http://www.tizag.com/cssT/cssid.php Rik 2008/12/15 Guengoeren : > > > Hi Guy