jQuery fade in background colour

前端 未结 4 817
孤城傲影
孤城傲影 2020-12-17 17:31

I\'m trying to fade in the background colour of a table row, and can\'t get it right. The fade-in will happen when a button is clicked.

I tried something like:

4条回答
  •  心在旅途
    2020-12-17 18:07

    The pure jQuery does not have functionality to animate colors. You have to use jQueryUI or jQuery color plugin.

    Then use .animate() function.

提交回复
热议问题