[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setTimeout() bug

> Th following line evaluates IMMEDIATELY, regardless of what how long I tell
> it to wait:
> loopID = setTimeout(loopBackground(),1000)

Hope you don't kick yourself.

    loopID = setTimeout(loopBackground(),1000)
    loopID = setTimeout("loopBackground()",1000)

This kind of thing has bitten me a few times. Do you get the feeling 
that Netscape has a different person working on each method, function, 
property, etc. and they have never met each other?

For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/