Home › Forums › JavaScript › Delaying a jquery event › Re: Delaying a jquery event
February 26, 2009 at 1:36 pm
#54351
davesgonebananas
Member
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);