I have a .infodiv class with say 4 elements. I want to filter out 1 div by id and fadeToggle it, and fadeOut the others.
My code now is
$(".infodiv").filter('#'+id+"div").fadeToggle("slow").fadeOut("slow");
this now filters and acts correctly on my filter, but then the following fadeout command would also act on the filtered element.
What extra commands/syntax in the chain is needed so that the fadeout only acts on the other 3 elements.
TIA
You can revert to the previous set in the chain if you use
end().