[jQuery] Re: setInterval method call with parameters not working

2008-11-23 Thread ricardobeat
Also from what I understand you're passing a string "{ param:'something' }", not an actual object to the ajax function, does that work? On Nov 23, 11:23 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > The setInterval() function can take a string (which is "evals") or a > "reference" to a function (w

[jQuery] Re: setInterval method call with parameters not working

2008-11-23 Thread Karl Rudd
The setInterval() function can take a string (which is "evals") or a "reference" to a function (which is the recommended way). To invoke a function via setInterval/setTimeout with arguments what is usually done to use an anonymous function/closure. So something like: slideshow_interval = setInt