will the line below work even if there is no class "hidden" to remove - will the addClass part still work? Im thinking it wont ...
$("#dimensions,#inthebox").removeClass("hidden").addClass("show") On Jul 12, 4:43 pm, stef <[EMAIL PROTECTED]> wrote: > accessories was spelt wrongly indeed but not the cause of the problem. > first two replies corrected the issue. thanks alot guys! > > On Jul 12, 2:36 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > > > On Jul 12, 2:15 pm, stef <[EMAIL PROTECTED]> wrote: > > > > else if ($("#category").val() == "accessoires") > > > Are you sure that's correct? "accessories" is spelled wrong. i can't > > see if it's also misspelled in your code, so i can't judge if that's > > the problem or not. > > > i am, coincidentally, using add/removeClass() right this minute for a > > tabbed interface and they do function as advertised.