Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Delaying a jquery event Re: Delaying a jquery event

#54351

It’s because the function doTheHide is declared locally (i.e. inside another function). To call it you should specify it as a function pointer instead of a string.

setTimeout(doTheHide,1000);