Maybe you need to use backgroundColor for the first instance as well.
On Jun 16, 6:20 pm, Apothem <junishi...@gmail.com> wrote: > I use jQuery 1.3.2 and tried to use: > $('.applied').each(function(){ > $(this).css('background-color', '#ff0000').animate > ({backgroundColor: "#000" }, "slow"); > }); > > For some reason, the background doesn't change and my firefox debugs > the error of "NaNpx" a few times. What is wrong?