北城已荒凉 2019-05-31 15:29 采纳率: 0%
浏览 8

AJAX通话中断动画[重复]

This question already has answers here:
                </div>
            </div>
                    <div class="grid--cell mb0 mt4">
                        <a href="/questions/34838286/jquery-animate-not-working-on-background-color-property" dir="ltr">jQuery Animate not working on background-color property</a>
                            <span class="question-originals-answer-count">
                                (5 answers)
                            </span>
                    </div>
                    <div class="grid--cell mb0 mt4">
                        <a href="/questions/190560/jquery-animate-backgroundcolor" dir="ltr">jQuery animate backgroundColor</a>
                            <span class="question-originals-answer-count">
                                (17 answers)
                            </span>
                    </div>
            <div class="grid--cell mb0 mt8">Closed <span title="2019-05-31 15:34:41Z" class="relativetime">11 months ago</span>.</div>
        </div>
    </aside>

I'm trying to make a simple animation for a recently added element with ajax.

So inside success function and after working with my result I've tried this code.

success: function (result) {

   /* Working with result */

   $('myselector').animate({backgroundColor:'#4E1402'}, 300);

}

It does change the bg color but it look so ugly and not smooth as expected and this happen just inside the AJAX call. Please anyone can give me some advise to solve this. Thanks.

</div>
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信会员卡接入微信支付商户号收款
    • ¥15 如何获取烟草零售终端数据
    • ¥15 数学建模招标中位数问题
    • ¥15 phython路径名过长报错 不知道什么问题
    • ¥15 深度学习中模型转换该怎么实现
    • ¥15 HLs设计手写数字识别程序编译通不过
    • ¥15 Stata外部命令安装问题求帮助!
    • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
    • ¥15 TYPCE母转母,插入认方向
    • ¥15 如何用python向钉钉机器人发送可以放大的图片?