Source: Internet
Author: User

Introduction to Ajax

What happens without Ajax? The normal ASP. NET will refresh the current page every time it executes a server-side method, such as the time it takes to implement the display. The downside of refreshing faces every time: page refresh interrupts user action, slows down, and increases traffic pressure on the server. If there is no Ajax, in the process of Youku watching the video, if you click on the "Top, step", comments, comments page, pages will be refreshed, the video will be interrupted.

AJAX (Asynchronous JavaScript and XML, asynchronous JavaScript and XML) is a technique for page-local asynchronous refreshes. Use Ajax to send requests to the server and get the data returned by the server and update it to the interface, not the entire page refresh, but instead use JavaScript in the HTML page to create the XMLHttpRequest object to make a request to the server and get the returned data. Just like the JavaScript version of WebClient, the page is made up of XMLHttpRequest to make HTTP requests and get the server's return data so that the page does not refresh. XMLHttpRequest is the core object of Ajax

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: 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.