[jQuery] Re: setTimeout with variables (in a jQuery statement)

2009-11-05 Thread cosmin
have you tried placing your jquery code into a new function and calling that function in setTimeout ? On Nov 4, 2:27 pm, north wrote: > Hi, > > I'm trying to use a jQuery statement inside a setTimeout function, but > I don't get it to work. I tried a lot of variants, like this one (I'm > using 't

[jQuery] Re: setTimeout with variables (in a jQuery statement)

2009-11-04 Thread north
Thanks a lot for you answer, Michel. I have already switched to using a function within setTimeout, but I found my problem lies elsewhere. I might open a new thread with a better fitting title for this. On 4 Nov., 14:06, Michel Belleville wrote: > I'd use an anonymous function and pass it to set