[jQuery] replaceWith -- Use with Classes

2008-01-25 Thread vanoosterhout
I know this may be a pretty elementary question, but I am trying to figure out how to change a class based on a click. I think should be able to do this with replaceWith, but for some reason I am struggling. I have this: li id=st1 class=current1.Boat Select/li li id=st2 class=2.Halyard

[jQuery] Re: replaceWith -- Use with Classes

2008-01-25 Thread vanoosterhout
, vanoosterhout wrote: I know this may be a pretty elementary question, but I am trying to figure out how to change a class based on a click.  I think should be able to do this with replaceWith, but for some reason I am struggling. I have this: li id=st1 class=current1.Boat Select/li li