input isn't a css "class",, it's a tag with css attributes have you tried ("input").css ()? webspee...@gmail.com wrote: Hey all. I'm trying to add/remove a class and am having trouble. When I add the new class, the color takes hold, but not the changing of the background image.The original CSS is defined as input[type="button"]{background- image:....} How do I remove a class that is defined like the one above? I tried removeClass("input"), but that didn't work. |
- [jQuery] Trying to add/remove a class "when....&... webspee...@gmail.com
- [jQuery] Re: Trying to add/remove a class "... MorningZ
- [jQuery] Re: Trying to add/remove a class "... Charlie Tomlinson