Menu

#1 Add an easy polling feature

open
5
2006-04-04
2006-04-04
Jim Plush
No

ajaxObj.poll('action=getComments', 'myDiv', 2);

so the 1st parameter is the server page you want to call, the 2nd
parameter is the Div who's innerHTML you want to replace on each load
and the 3rd parameter would be the number of seconds to set the
polling for.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB