need to update html page periodically by the data from server, but couldn't find a Jquery ajax function to do that, any suggestion? Thanks.
views:
22answers:
1
+1
A:
You should use setInterval().
http://www.w3schools.com/jsref/met_win_setinterval.asp
setInterval(ajaxFunction, 5000);
Mark
2010-06-23 21:45:44
Actually, `setInterval(ajaxFunction, 5000);`, very important difference there ;)
Nick Craver
2010-06-23 22:21:50