The recent use of CAs as a single point of authentication service found about 20 minutes later found that the general asynchronous way to refresh the page is no response (due to the use of the Easyui framework, page refresh is based on Ajax+div),
Recently, the hot topic on the internet is of course about the application of WEB2.0, among which AJAX is one of the core of WEB2.0. AJAX is short for Asynchronous JavaScript and XML. It is not a new language or technology. It is actually a
Introduction
This article introduces the Ajax debugging method under jquery. Many debugging methods can be used at one point. However, they will be confusing before they can be used;
AJAX can provide users with a richer user experience. Jquery
One. What Ajax is: 1. With asynchronous mode, the user experience is improved by 2. Optimizes the transfer between browser and server, reduces unnecessary data round-trip, and reduces bandwidth consumption by 3. Ajax runs on the client side,
1 Ajax Principles Ajax(Asynchronous JavaScript and XML (异步的JavaScript和XML)),是一种快速创建动态网页的技术,目的是显示动态局部刷新.通过XMLHttpResponse对象来向服务器发起异步请求,从服务器获取数据.(1) 异步的javascript: 使用javaScript语言及功能向服务器发起请求,当服务器处理完请求之后,自动执行javaScript回调函数.(客户端可以不需要等到服务器响应才能运行)(2)
One, $.ajax () parameter list ↑Here is a detailed list of Ajax parameters in jquery:
Name of parameter
Type
Describe
Url
String
(Default: Current page address) sends the requested address.
The Ajax () method loads remote data through an HTTP request.
The approach is the jQuery-bottom AJAX implementation. Simple and easy-to-use high-level implementation see $.get, $.post, etc. $.ajax () returns the XMLHttpRequest object that it
Here is a detailed list of Ajax parameters in jquery:
Name of parameter
Type
Describe
Url
String
(Default: Current page address) sends the requested address.
Type
String
Jquery.get ()Loads data from the server using an HTTP GET request.Jquery.get (URL [, data] [, Success (DATA,TEXTSTATUS,JQXHR)] [Dtatype])URL a URL that contains the sending requestData sent to the server after the string key value pairSuccess () The
JQuery. Ajax help information
AJAX parameters in jQuery
1,UrlString (default: Current page address) the address of the request sent.
2,TypeString (default: "GET") Request Method ("POST" or "GET"), default: "GET ". Note: Other HTTP request methods,
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.