A simple

$('#slider .navigation li').length;

will make it. ;)


_________________________________
Lois Griffin: I’m a naughty girl and I need a spanking!
Peter Griffin: And I'm a paladin with 18 charisma and 97 hit-points, I can
use my helm of disintegration and do 1d4 damage as my half-mage elf wields
his +5 holy avenger.
Lois Griffin: Wait a minute, paladins can’t use the helm of disentegration!
Peter Griffin: oh — In that case then I’m a black guy.



On Sun, Mar 29, 2009 at 02:24, macsig <sigbac...@gmail.com> wrote:

>
> Hello guys,
> is there a way to know how many element have a specific CSS class?
> I have a list and I need to know how many items it contains.
> I guess it should be omething like:  $('#slider .navigation li'). ...
> Thanks

Reply via email to