I need to create navigation that shows / hides multiple divs.
Here is what I need to be able to do: If a user clicks on any of the \"options
For your first trouble you can add the following two lines to your click event:
$(".buttons .selected").removeClass("selected"); $(this).addClass("selected");
Or as Irrelepant says (a better way actually):
$(this).addClass('selected').siblings().removeClass('selected');