First, AJAX
Ajax, called "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML), is a development technique that creates interactive Web applications, improves the user experience, and achieves no refresh.
1.1. Advantages
No plug-in support required
A great user experience
Improve the performance of Web programs
Reduce the burden on servers and bandwidth
1.2. Disadvantages
Browsers have insufficient support for XMLHttpRequest objects, and almost all browsers now support
Destroy the normal function of the browser "forward", "back" button, can be made up by simple plug-in
Lack of support for search engines
1.3. JQuery Ajax Example
In HTML5, the native Ajax core object XMLHttpRequest is upgraded, that is, XHR2, the function is more powerful.
Ii. deferred Object (Deferred) Iii. What is a cross-domain
JavaScript is the same as the limitations of the same policy, a domain name JS cannot manipulate the B or C domain under the object, as follows:
Assumption Page: http://store.company.com/index.html
JavaScript Learning Summary (i)--ajax, lingering objects, cross-domain, template engine