I think this should work:
$("div:not(#tools)").find(".dd-container").hide();
edit: Think I mis-read the question. Is there one dd-container
-class that also has an id
of tools? If so, then you need to change it to this:
$("div").find(".dd-container:not(#tools)").hide();
or this: (Which should perform faster according to some tests I did a while back)
$(".dd-container:not(#tools)", "div").hide();
The reason it's faster, is because it's looking for the classes first, instead of looking for all divs, and then going through them all...I think.