开发者

fadeout effect not working

开发者 https://www.devze.com 2023-01-10 20:06 出处:网络
i want to load new data after fading out effect. callback:function(data) { parent.fadeOut(\'slow\').delay(5000);

i want to load new data after fading out effect.

callback:function(data)
{
 parent.fadeOut('slow').delay(5000);
 $('#div_one').html(data);
 modal_message();
                                                            },

if i remove $('#di开发者_如何转开发v_one').html(data),

then fading effect will work. but if i keep this sentence fading effect is not working


Provide a callback function to fadeOut like this:

parent.fadeOut('slow', function(){
  // your code to load data
});
0

精彩评论

暂无评论...
验证码 换一张
取 消