tags:

views:

23

answers:

1

How to I write this

Slide All Div up except the div with id 'div1'

$(acc).children('div:not('div1')').slideUp();

Any help?

+3  A: 
$(acc).children('div:not(#div1)').slideUp();
Tomalak