←  Programming and General Web Design

Pixel2Life Forum

»

AJAX auto DIV refresh

trs21219's Photo trs21219 08 Apr 2008

i have looked all over the internet for a good expanation of how to do this but no luck.

i want to make one div on my page refresh every x seconds.

the div id is "gameart" and it includes thumnails of flash games on my site that show on the front page but i would like it to refresh every 10 seconds or so to display new images. the div already has the method call to my php code to display the images i just need the AJAX to refresh it.

if someone could please post the AJAX i would be very grateful. i dont mind if it includes a framework like prototype or mootools i just need it to work

thanks in advance
Quote

trs21219's Photo trs21219 10 Apr 2008

thanks rc, i knew someone would find something on here that i missed :worthy: :beat:
Quote