I want to hide all child elements in a div. And then show a specific one passed on to the function.
function subDisplay(name) { $(\"#navSub\").each(functi
function subDisplay(name) { $("#navSub").hide(); $('#'+name).show(); }