Questions | Login

Top / Javascript / AJAX

Do I need to use Ajax to do this?

demo 19 Dec 2008 01:46am
Hello

I’ve written a browser based game and I want to display some information from the database on the homepage. Simple enough, however I want it to be dynamic and like a news feed. The players in the game will generate news items into the database and I want the homepage to always display the most recent item, but without having to refresh the page.

Am I right in thinking I need to use Ajax to do this? My knowledge of Ajax is limited so any help with a rough idea of what the code would be like or a good tutorial link would be appreciated, thanks.

Answers

demo 19 Dec 2008 01:50am
yes, i think that requires the use of ajax
demo 19 Dec 2008 01:52am
AJAX would be necessary to do this well. However, you can also use a meta tag to refresh at an interval. A flash interface also would be able to accomplish this. Although, I'm recommending the Ajax.

Related

Submit Answer

You must be logged in to post an answer. Please Login or Register.

Powered by phpMyAnswers.