Get Data

[Total: 0    Average: 0/5]

Getting Data from the Server

Using AJAX, sometimes you need to get data from the server.

This bit of code will retrieve data from a server:

In this code, you will need to have a form or object to show the data.
You need to have a file on your server (ajax_file.php noted above) which will
send output (STD-OUT for the server file).
The above function needs to be called at some interval on some event.

Times Viewed: 25

Leave a Reply

Your email address will not be published. Required fields are marked *