[jQuery] Re: replaceWith -- Use with Classes

2008-01-25 Thread vanoosterhout
Thanks Karl, Perfect. Worked like charm. Christopher On Jan 25, 2:03 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > I can't build the whole thing for you because I don't know what is   > being clicked and which element's class you want changed, but in   > general you can manipulate classes wit

[jQuery] Re: replaceWith -- Use with Classes

2008-01-25 Thread Karl Swedberg
I can't build the whole thing for you because I don't know what is being clicked and which element's class you want changed, but in general you can manipulate classes with .addClass('some-class') and .removeClass('optional-class-name') and .toggleClass('some-class'). You'll find these met