Home > Web Front-end > JS Tutorial > body text

Problems with Ajax asynchronous requests in the XMLHttpRequest object

一个新手
Release: 2017-09-28 09:12:23
Original
1358 people have browsed it

XMLHttpRequestObject

1. XMLHttpRequest object

1.Ajax can realize asynchronous transmission, so It relies on XMLHttpRequest in JavaScript

2. The XMLHttpRequest object is the object of the XMLHttp component. It is an abstract object that allows the script to obtain the returned eXML data from the server or send the data to the server.

3.XMLHttpRequest can realize only data-level interaction between the client and the server without having to refresh the page every time

4.XMLHttpRequest was first provided as an ActiveX control in Microsoft Internet Explorer 5.0 and has since been widely used

5.You need to create an XMLHttpRequest object before using XMLHttpRequest to send a request and process the response.

6.XMLHttpRequest is not a W3C standard and can be created using JavaScript in a variety of ways. XMLHttpRequest instance

7.XMLHttpRequest is implemented as an ActiveX control in IE, while other browsers implement it as a JavaScript built-in object

2. XMLHttpRequest object creation

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!