[jQuery] Re: Determining if a block is visible

2009-08-17 Thread Joshua Beall
On Aug 6, 2:41 pm, "Richard D. Worth" wrote: > On Thu, Aug 6, 2009 at 9:27 AM, Joshua Beall wrote: > > > On Aug 6, 8:26 am, "Richard D. Worth" wrote: > > > You can include the pseudo-selector in the same selector, immediately > > after > &g

[jQuery] Re: Determining if a block is visible

2009-08-06 Thread Joshua Beall
On Aug 5, 7:05 am, "Richard D. Worth" wrote: > Your question is better suited to the main jQuery > list:http://groups.google.com/group/jquery-en > > since it's not about jQuery UI > plugins[*]. I was thinking that because my use case is most directly ti

[jQuery] Re: Determining if a block is visible

2009-08-06 Thread Joshua Beall
On Aug 6, 8:26 am, "Richard D. Worth" wrote: > You can include the pseudo-selector in the same selector, immediately after > the ID, like so: > > $("#myDiv:hidden").show(); > $("#myDiv:visible").hide(); > > Another option would be to use the filter method: > > $("#myDiv").filter(":hidden").show()