I\'m trying to make an AJAX function update about 30 seconds. I have a simple version of that done, here is the code.
var refInterval = window.setInterval(\'
Call update once (on document ready) before calling it with the interval:
update(); var refInterval = window.setInterval('update()', 30000);