I have 2 tabs at the top of a page. When one tab is clicked, I would like that tab to have an \"active\" class and the other tab to have an \"inactive\" class so that the us
if using jquery:
$("div.tabInactive").click(function() { $("div.tabInactive").removeClass("tabActive"); $(this).addClass("tabActive"); });