How do I delay a function call for 5 seconds?
You can use plain javascript, this will call your_func once, after 5 seconds: If your function has no parameters and no explicit receiver you can call directly setTimeout(func, 5000) There is also a plugin I’ve used once. It has oneTime and everyTime methods. jQuery timers plugin