AJAX Introduction

2016 年 5 月 20 日3990

AJAX Introduction

« Previous

Next Chapter »


AJAX is about updating parts of a web page, without reloading the whole page.


What is AJAX?

AJAX = Asynchronous JavaScript and XML.

AJAX is a technique for creating fast and dynamic web pages.

AJAX allows web pages to be updated asynchronously by exchanging small

amounts of data with the server behind the scenes. This means that it is

possible to update parts of a web page, without reloading the whole page.

Classic web pages, (which do not use AJAX) must reload the entire page if the

content should change.

Examples of applications using AJAX: Google Maps, Gmail, Youtube, and

Facebook tabs.


How AJAX Works

AJAX


AJAX is Based on Internet Standards

AJAX is based on internet standards, and uses a combination of:

Note

AJAX applications are browser- and platform-independent!


Google Suggest

AJAX was made popular in 2005 by Google, with Google Suggest.

Google Suggest

is using AJAX to create a very dynamic web interface:

When you start typing in Google's search box, a JavaScript sends the letters off

to a server and the server returns a list of suggestions.


Start Using AJAX Today

In our PHP tutorial, we will demonstrate how AJAX can update parts of a web

page, without reloading the whole page. The server script will be written in PHP.

If you want to learn more about AJAX, visit our AJAX tutorial.

« Previous

Next Chapter »

W3SCHOOLS EXAMS

HTML, CSS, JavaScript, PHP, jQuery, Bootstrap and XML Certifications

COLOR PICKER

colorpicker

LEARN MORE:

Color Converter

Google Maps

Animated Buttons

Modal Boxes

Modal Images

Tooltips

Loaders

JS Animations

Progress Bars

Dropdowns

Slideshow

Side Navigation

HTML Includes

Color Palettes

Code Coloring

SHARE THIS PAGE



PRINT PAGE

FORUM

ABOUT


×

Your Suggestion:

×

Thank You For Helping Us!

Your message has been sent to W3Schools.

Top 10 Tutorials

HTML Tutorial

CSS Tutorial

JavaScript Tutorial

W3.CSS Tutorial

Bootstrap Tutorial

SQL Tutorial

PHP Tutorial

jQuery Tutorial

Angular Tutorial

XML Tutorial

Top 10 References

HTML Reference

CSS Reference

JavaScript Reference

W3.CSS Reference

Browser Statistics

PHP Reference

HTML Colors

HTML Character Sets

jQuery Reference

AngularJS Reference

Top 10 Examples

HTML Examples

CSS Examples

JavaScript Examples

W3.CSS Examples

HTML DOM Examples

PHP Examples

jQuery Examples

ASP Examples

XML Examples

SVG Examples

Web Certificates

HTML Certificate

HTML5 Certificate

CSS Certificate

JavaScript Certificate

jQuery Certificate

PHP Certificate

Bootstrap Certificate

XML Certificate


W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding.

Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.

While using this site, you agree to have read and accepted our terms of use,

cookie and privacy policy.

Copyright 1999-2016 by Refsnes Data. All Rights Reserved.

Powered by W3.CSS.

W3Schools.com

0 0