Simple addClass not adding class

have this bit of code


and also tried


Although it was my impression that addClass should have done the trick.
On my page I see the new div w/the boo. But no class. What’s up w/that?


arggg &%$*# typos.

Also, you can just do addClass(). No need for the attr().

Yeah that was my impression as well. Of course that would not work w/ addcClass() either!
oh well, face palm.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.