Javascript advanced Article 3 Ajax, JSON, Prototype

Source: Internet
Author: User
I have heard a lot about Ajax, but I have never really touched it, so I 'd like to know a little about it here. The innovation of Ajax technology is that it improves the traditional request-wait-response-refresh-return data mode, and allows users to continue their operations before returning information, the current page will not be... syntaxHighlighter. all ();

Ajax
I have heard a lot about this word, but I have never really touched it, so I 'd like to know it here.
The innovation of Ajax technology is that it improves the traditional "request-wait-response-refresh-return data" mode. Before returning information, users can continue their operations, the current page will not be refreshed due to requests. This greatly improves interactivity.
Ajax is actually not a technology, but composed of many technologies. One of the biggest features is that it can be asynchronously transmitted to implement multi-threaded services.
Ajax asynchronous transmission relies on the XMLHttpRequst object in js, so we start with it.
XMLHttpRequest is an abstract object created by XMLHttp for data interaction. In IE, XMLHttpRequest is used as an ActiveX control and as a built-in js object in FF Opera.
Code for creating an XMLHttpRequest object:

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.