Mission: Show one div and then another based on click. $("a").click(function () { target = "div." + $(this).attr("class"); $("div.block").hide(); $(target).slideDown() });
Site Search
Blog Search
Search: