How do you pause before fading an element out using jQuery?

后端 未结 8 513
滥情空心
滥情空心 2020-12-29 03:12

I would like to flash a success message on my page.

I am using the jQuery fadeOut method to fade and then remove the element. I can increase the duratio

8条回答
  •  我在风中等你
    2020-12-29 04:06

    Following on from dansays' comment, the following seems to work perfectly well:

    $('#thing') .animate({dummy:1}, 2000) .animate({ etc ... });

提交回复
热议问题