Topic: problems with ajax

Just learned how to use AJX. But I have some problems updating... Go and look at  http://www.norrywood.se The the bottom left u can see a post from the forum. It is supposed to update every 15second. The problem is that in the start it doesnt and shows, timestamp 1970.... and the rest is undefined. (see the website). How can I solve this? I tried to have a separate function to get just the first post but then the second will be wrong...

Thankful for some help!

/Josephine

Re: problems with ajax

Moved to Programing since this isn't a PunBB issue wink

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: problems with ajax

could you provid ur code maybe

4 (edited by SirNotApearingOnThisForum 2006-10-18 17:21)

Re: problems with ajax

I would highly recommend using a library for your AJAX code, it would greatly simplify matters for you, and be much less likely to contain any bugs.  And there is a js function called setInterval, by the way, which may be easier to use than continually calling setTimeOut.