Original Post
Hi all, I've been toying with AJAX and really like it - but I'm having an issue. I want to update the text on a web page - say like 'new message has arrived'. So I query the db and get back the right value, and it works the first time.... but then document.write won't do it again - because the page is static HTML All the examples I've seen are using textareas which are easily updatable... any ideas pls Also, I'm using JS timer code to trigger my AJAX connection every 10 secs to check for new messages - is there a better way to do this, and I just haven't found out yet :) Also, I want to have many values refreshed on the page every 10 secs, I assume I can use the AJAX connection code once and just call it many times in the page? Can someone point me to an example of this pls? thx Rob/Eliia