toggle() a bunch of divs initially
I have some divs and on their title bars if you click them, it toggle its child div to hide/show
It works fine right now, but what if I want them all hidden initially? How could I do that?
When I click the title bar, I run this method:
- function toggleDisplay(who)
{
$(who).parent().find('.machine-info').toggle();
}
Now if I can just get all the divs and set them all hidden initially :)