jQuery animate() not working with colors

前端 未结 1 529
日久生厌
日久生厌 2020-12-18 01:27

I\'m trying to do some simple jQuery test in Confluence 4.1.9.

$(\"div#test\").css(\"background\",\"#F00\");

works, but

$(\         


        
相关标签:
1条回答
  • 2020-12-18 02:18

    jQuery Core does not support color animations out of the box.

    You will have to use something like jQuery UI or a standalone jQuery Color plugin for your call to animate() to work as expected.

    0 讨论(0)
提交回复
热议问题