I\'m new to jQuery, so I\'m sorry if this is a silly question. But I\'ve been looking through Stack Overflow and I can find things that half work, I just can\'t get it to f
Try this one:
$(document).ready(function() { $(".tab").click(function () { $("this").addClass("active").siblings().removeClass("active"); }); });