且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使我的ajax更新DIV渐显

更新时间:2023-02-11 18:28:19

您将不得不隐藏()它之前,你可以使用淡入()

You'll have to hide() it before you can use fadeIn().

更新:下面是你如何做到这一点通过链接:

UPDATE: Here's how you'd do this by chaining:

$("#charges-gsm-faq").hide().html(html).fadeIn();
$("#charges-gsm-prices").hide().html(html).fadeIn();