我有以下代码:
$('message').show();
$('message').hide();
如何在原型(prototype)中的显示和隐藏之间添加 10 秒的延迟?
谢谢
最佳答案
$('message').show();
Element.hide.delay(10, 'message');
关于javascript - 原型(prototype) - 如何将对 hide() 的调用延迟 10 秒,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2198924/