This should be an easy one. I have a variable that I've already declared called $listItems. The declaration looks like this:
var $listItems = $ul.children('li'); // $ul is just a selected unordered list
Later in my code, I'd like to only get the ones that are currently visible. How would I go about that? Something like:
$listItems.parent().children(':visible')?
Thanks.