Original address:http://blog.sina.com.cn/s/blog_4f925fc30100la36.htmlURL: The requested address is requested for a parameter of type string, (the current page address is assumed to be the default).Type: A parameter of type string is required, and
1.jQuery $.get () methodThe $.get () method requests data from the server over an HTTP GET request.jquery.get (URL, [data], [callback]):Parameters:URL (String): The URL address of the sending request.data (MAP): (optional) to be sent to the server,
Http://www.cnblogs.com/qiufuwu618/archive/2012/12/20/2826190.htmlA detailed list of Ajax parameters in jquery:
Name of parameter
Type
Describe
wr.
String
(Default: Current page address) sends the
HTTP protocol Status code detailed list one, message (1-word header)This type of status code, on behalf of which the request has been accepted, needs to be processed. This type of response is a temporary response that contains only the status line
URL: The requested address is requested for a parameter of type string, (the current page address is assumed to be the default).type: a parameter of type string is required, and the request method (post or get) defaults to get. Note Other HTTP
jquery uses Ajax to request data for cross-domain requestsCross-domain is a frequently asked question in my daily interview, the term is not low in the front end, mainly because of security restrictions (same-origin policy, that is, JavaScript or
Original address: http://www.cnblogs.com/fullhouse/archive/2012/01/17/2324842.html1:get access to the browser is considered to be idempotentJust a single result of the same URL [same as the entire URL string exactly matches]So when the second visit
Add expires and Cache-control headersExpires and Cache-control are actually cache control headers in HTTP, which mainly affect the client's request behavior and server-side response.Many of this article comes from the HTTP authoritative guide, and
1.url:Requires that the requested address be sent as a parameter of type string (the current page address is assumed to be the default).2.type:A parameter of type string is required, and the request method (post or get) defaults to get. Note Other
1, $.getThe $.get () method uses the Get method to make an asynchronous request with the syntax structure:$.get (URL [, data] [, callback])Explain each parameter of this function:Url:string type, the address of the AJAX request.Data: Optional
HTTP Cache ArchitectureFirst I will divide the Http caching system into the following three parts:1http/1.1 $OK2cache-control:no-Cache3content-type:image/PNG4Last-modified:tue, ,Nov . .: -:xxGMT5accept-ranges:bytes6Date:thu,TenNov . Geneva: -:
1. Load(URL, [data], [callback]): Load the remote HTML file code and insert it into the DOM. URL(String): The URL address of the requested HTML page.Data(MAP): (optional parameter) Key/value data sent to the server.Callback(Callback): (optional
Ajax method parameters in jquery are always remembered, here is a record.1.url:Requires that the requested address be sent as a parameter of type string (the current page address is assumed to be the default).2.type:A parameter of type string is
A, $.get (Url,[data],[callback])Description: The URL is the request address, data is the list of requests (is optional, you can also write the parameters to be passed in the URL), callback is the callback function after the successful request, the
PHP Advanced and object-oriented Programminglarry Ullman last-modified Last modified time expires expiration pragma compile hint Cache-control Cache control such as the cache system discovers that the value of last-modified is closer to the current
URL: The requested address is requested for a parameter of type string, (the current page address is assumed to be the default).Type: A parameter of type string is required, and the request method (post or get) defaults to get. Note Other HTTP
Life for the first time to write a blog, there is no experience, not to mention what experiences, is their own finishing school to the things warm so know new.Today in the work, met with Ajax to fetch the data in the XML file, the reputation of Ajax
jquery is really a very good lightweight JS framework that can help us to develop JS applications quickly and to some extent change the way we write JavaScript code.Talk less, go straight to the point, we first look at some simple methods, these
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.