yvorl
10-12-2007, 07:18 AM
Hi!
I know it sounds so simple, but i'm new to ajax and i'm just not able to get on with this. The problem: There is a file (txt) on the server. I'd like to display the content of this file in a div and update it dinamically in every x seconds because the content of the txt is changing. I'd like it to work of corse under ie,firefox,etc..
I probably need an XMLHttpRequest, a setTimeout but i just can't make it to work right and periodically. It shouldn't be so hard to do i guess.
Can anyone help me?
Thx
I know it sounds so simple, but i'm new to ajax and i'm just not able to get on with this. The problem: There is a file (txt) on the server. I'd like to display the content of this file in a div and update it dinamically in every x seconds because the content of the txt is changing. I'd like it to work of corse under ie,firefox,etc..
I probably need an XMLHttpRequest, a setTimeout but i just can't make it to work right and periodically. It shouldn't be so hard to do i guess.
Can anyone help me?
Thx