开发者

jQuery set time out

开发者_Python百科I need a function that will do the following.

It will immediately let a DIV show and after 5 seconds it should disappear.

I am fine with showing and hiding a DIV, but I do not know how to mix this with the set time out functionality.

Please help.

Thanks


$("div").show('fast').delay(5000).hide('fast');

Of course you should adjust selector according to your actual markup.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜