http://docs.jquery.com/Traversing/filter#expr
so
Foo = Foo.filter(":visible");
On Jan 20, 1:52 pm, BKahuna <[email protected]> wrote:
> I've got a variable that holds a jQuery object. I would like to filter out
> all of the visible elements in that jQuery object. The problem is once I'm
> using a variable and not the jQuery object itself I don't know the semantics
> for filtering it.
>
> I have something like this:
>
> var Foo = $("#Bar");
> FilterFunction(Foo);
>
> function FilterFunction(Foo) {
> var Test = $(Foo + ":visible");
>
> }
>
> What is the correct syntax?
>
> Thanks very much,
>
> BKahuna
> --
> View this message in
> context:http://old.nabble.com/Filtering-a-jQuery-Object-variable-tp27246700s2...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.