[jQuery] periodically call a function

[jQuery] periodically call a function


I often use rails' "periodically_call_remote" to update a div for
example and render a partial with the newest database entries.
How will the JQuery way look like?
Thanx