Hello, is it possible to toggle all once a new toggle has been made?

I have this function

function opendiv(div){
var show = div;
$(show).slideToggle("slow");
}


But I want to add something before the $(show).slideToggle("slow"); that closes all opened toggles. Is this possible? Thanks


-Tony

Reply via email to