|
|
Registered tutorials: 501 Registered Users: 33355
|
|
Rating: 3.5 out of 4 votes cast
Category: Ajax and PHP
|
AJAX and PHP Part 1 - Dynamic HTML and Images
Abstract: This tutorial demonstrates a simple script that sends a GET or POST request to a form handling script on a server, then the server script will return a response to the browser XMLHttpRequest JavaScript object.
A brief technical explanation of AJAX AJAX is a client/server system. It is a standard that is compatible with all versions of IE browsers, Mozilla/Firefox browsers, the Opera browser and some others. Any browsers that were released in the last few years will work. It uses a JavaScript object commonly referred to as the XMLHttpRequest object within the client-browser HTML page, though there are some variations of this object in MS Internet Explorer browsers. We will demonstrate a simple script that is compatible with all browsers. You use this XMLHttpRequest object to simply send a GET or POST request to a Form handling script on a server, then the server script returns a response to the browser XMLHttpRequest JavaScript object. This text response can be plain text, HTML text with all tags and images or an XML-structured document.
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
666 |
| Unique Hits: |
528 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0.1 |
0.1 |
1.3 |
1.4 |
9.7 |
12.4 |
| Current |
0 |
0 |
1 |
1 |
1 |
1 |
| Previous |
0 |
0 |
0 |
0 |
2 |
2 |
| Dec 2 |
1 |
1 |
0 |
0 |
22 |
28 |
| Dec 1 |
0 |
0 |
0 |
0 |
20 |
30 |
| Nov 30 |
0 |
0 |
0 |
0 |
10 |
13 |
| Nov 29 |
0 |
0 |
0 |
0 |
6 |
6 |
| Nov 28 |
0 |
0 |
2 |
2 |
18 |
22 |
| Nov 27 |
0 |
0 |
0 |
0 |
0 |
0 |
| Nov 26 |
0 |
0 |
5 |
6 |
3 |
4 |
| Nov 25 |
0 |
0 |
5 |
5 |
15 |
18 |
| Highest |
11 |
15 |
38 |
47 |
119 |
147 |
|
|
|
Script Execution Time: 0.32593 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|