Apply display:none; to unselected elements

chinatrain99

New Member
I have several divs. One of them has \[code\]class="active"\[/code\]. I want all the divs to be hidden (\[code\]display:none;\[/code\]) except the one with \[code\].active\[/code\]. What should the selector be?
 
Back
Top