Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Autoupdate wall using Ajax? Re: Autoupdate wall using Ajax?

#97264
bungle
Member

you need to give the table an id so you can refer to it and then put that inside another div that will function as the container
and then use the jquery load() function to load the page via ajax and insert just the table into the div


function refreshPosts(){
$('#container').load('posts.php #table');
}

setInterval('refreshPosts()',10000);