tags:

views:

16

answers:

3

Hi all:

I would like to write a syntax whose effect is opposite to $(parentID).children("tr.sc:hidden").

Do jQuery get ("tr.sc:show") or similar syntax?

Thanks

A: 
$(parentID).children("tr.sc:not(:hidden)");
$(parentID).children("tr.sc").not(":hidden");
Reigel
+2  A: 

Do you mean visible

Steerpike
A: 

i think what you're lookingfor is :visible. http://docs.jquery.com/Selectors/visible

nathan gonzalez