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
This is my guess:
$('.tabActive, #tabInactive').click(function() { $(this).toggleClass('active'); }