Ajax Refresh content of a table

Posted on 2009-02-23
Medium Priority
Last Modified: 2012-05-06

 I have a table on my homepafe which pulls data from database. Currently i need to refresh whole page to see if there is a change in the feed. How can i ajax refresh only inside of that table?

 I really dont know anything about ajax, ill be happy if your answers are clear..

Question by:jolly_joker
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 23716268

Accepted Solution

striker46 earned 2000 total points
ID: 23737441
If you use PHP and what you want to do is retrieve data from a MySQL table and refresh just the table not the whole page, perhaps this article I wrote is of your interest: http://www.aleixcortadellas.com/main/2009/02/15/automatically-query-mysql-and-output-results-with-ajax/

Hope it helps


Author Closing Comment

ID: 31550351
Great document, thanks..

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question