On 06/05/07, Emil Ivanov <[EMAIL PROTECTED]> wrote:
// jQuery plugin for periodical execution. // Pass the function the seconds and the function and it will call the function every N seconds, // use this.stop() to stop the execution.
My bad, old comments. The usage is like: $.executeEach(500 /* miliseconds here */, function (executer) { // do some stuff few time if (shouldStop) executer.stop(); });