Kamala Harris - Debt Consolidation - Myspace Layouts - Wordpress Themes - Debt Consolidation

PDA

View Full Version : Quick jquery issue


veckd
Aug 23rd 2008, 9:58 am
jQuery seems to be adding 'px' to the end of my hex code here:

$('#changeme').animate( { backgroundColor: '#ff0000' }, 1);

I get an error that says, something about '#ff0000px'.

Any ideas?

-Greg

LogicFlux
Aug 23rd 2008, 3:11 pm
Only properties that take numeric values are supported (e.g. backgroundColor is not supported).

http://docs.jquery.com/Effects/animate