I am learning, I am learning...
I missed the subtle difference in the documentation:
$('a, b') and $('a', 'b')
!!!
The way to filter my list is using a function.. like so:
('ol.ol1 li').filter( function() { return $('li.correctchosen',
this).length != 0 } )
// Filters the first set
Ah ok I follow you now.
Ok I'm not certain this will work; I haven't tested it but give it a go and
see what you get.
From the jQuery selectors documentation:
Hide all Paragraph elements that contain a link:
$(p[a]).hide();
So my guess at how to do what you want would be:
Not certain I understand your requirements exactly, but try one of the
following:
$('ol.ol1 li.correctchosen');
or
$('ol.ol1 li').find('.correctchosen');
Does that help?
--rob
On 6/4/07, SamCKayak [EMAIL PROTECTED] wrote:
$('ol.ol1 li') // returns a complete set of list elements
3 matches
Mail list logo