Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在某些事件发生时(例如收到短信时)显示一段时间(例如 2 秒),然后在 2 秒后自动隐藏。
我怎样才能在代号中做到这一点?
该类Dialog有一个show()接受超时作为其参数之一的方法。如果我没记错的话,还有一种方法可以setTimeout在对话框实例上。
Dialog
show()
setTimeout
I have the error
Uncaught TypeError: Object # has no method 'fancybox'
in my JS console on this website 4 regex - HTML 5 的 24 小时时间正则表达式