What is Ajax__ajax

Source: Internet
Author: User

Asynchronous JavaScript and XML (AJAX) are nouns that describe the process of transferring data between client script and server. The advantage is that it gives developers a way to accept content from a Web server without refreshing the page that the user is currently browsing.

Asynchronous JavaScript and XML (Ajax) is a term for the process of

Transferring data between a client script and the server. The advantage of

This is the it provides developers with a way to retrieve the content from a

Web server without reposting the page the user is currently viewing to the

Server. In concert and modern browsers ' ability to dynamically change

Displayed content through programming code (JAVASCRIPT) that accesses

The browser ' s DOM, Ajax lets developers update the HTML content

displayed in the browser without refreshing the page. Thus, Ajax

Provides dynamic interaction between a client and a server. In the other

Words, Ajax can make browser-based applications more interactive, and more

Responsive, and more like traditional desktop applications. Google ' s Gmail

And Outlook Express are two familiar examples that use Ajax techniques.

Ajax has various applications, some of which are, discussed.

1. Dynamic Form Data Validation. As an example, suppose a user fills

Out a form to register with a Web site. The validity of data in the form

Is isn't checked till the form is submitted. With Ajax, the data added to

The form is dynamically validated using business logic in a server

Application. Thus, a complete form does not have to is posted to the

Server to check if data in the ' form is valid.

2. Auto completion. As a user adds some data to a form, the remaining

Form gets auto completed.

3. Refreshing data on a page. Some Web pages require that data is

Refreshed frequently, a weather web site for example. Using the Ajax

technique, a Web page may poll the server for latest data and refresh

The Web page without reloading the page.

Ajax is based on XMLHttpRequest, JavaScript and XML DOM

Technologies. JavaScript and XML DOM technologies are relatively old

Technologies. Therefore we won ' t discuss these. XMLHttpRequest is a relatively new technology. In the next section, we shall discuss the XMLHttpRequest technology.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.