Quick jquery issue

Discussion in 'jQuery' started by veckd, Aug 23, 2008.

  1. #1
    jQuery seems to be adding 'px' to the end of my hex code here:

    $('#changeme').animate( { backgroundColor: '#ff0000' }, 1);
    Code (markup):
    I get an error that says, something about '#ff0000px'.

    Any ideas?

    -Greg
     
    veckd, Aug 23, 2008 IP
  2. LogicFlux

    LogicFlux Peon

    Messages:
    2,925
    Likes Received:
    102
    Best Answers:
    0
    Trophy Points:
    0
    #2
    LogicFlux, Aug 23, 2008 IP