and even smaller: $(this).parent().addClass("select").siblings().removeClass("select");
On Aug 16, 2:21 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > Hi, > > Are aware that there are tabs plugins? > > To answer your question: > $(function(){ > $("#tabs li a").click(function(){ > $("#tabs li").removeClass("select"); > $(this).parent().addClass("select"); > }); > > }); > > ~Sean