They are selectors so all those things will work. The most efficient
selector would probably be $("#id:hidden")
You can also do things like
$("div").each(function(){
if( $(this).is(":hidden") ) {
// do something
}
else {
// is visible
}
})
and
$("div").filter(":hidden").css(whatever).end().filter(":visible").addClass("foo")
On Mon, Sep 7, 2009 at 10:22 AM, Lotti <[email protected]> wrote:
>
> well, now with $("div:hidden") i will get all hidden div.. but i need
> to get one by one to see if they are hidden or not.
>
> do you think that something like $("#div:hidden") or $("div:hidden
> [id=#id]") could work?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---