JQuery Ajax Operation functions

Source: Internet
Author: User
Tags http post

function Description
Jquery.ajax () Executes an asynchronous HTTP (Ajax) request.
. Ajaxcomplete () Registers the handler to invoke when the Ajax request is complete. This is an Ajax event.
. Ajaxerror () Registers the handler to invoke when the Ajax request is complete and an error occurs. This is an Ajax event.
. Ajaxsend () Displays a message before the Ajax request is sent.
Jquery.ajaxsetup () Sets the default value for future Ajax requests.
. Ajaxstart () Registers the handler to invoke when the first Ajax request finishes. This is an Ajax event.
. Ajaxstop () Registers the handler to invoke when all Ajax requests are completed. This is an Ajax event.
. Ajaxsuccess () Displays a message when the Ajax request completes successfully.
Jquery.get () Use an HTTP GET request to load data from the server.
Jquery.getjson () Loads JSON-encoded data from the server using an HTTP GET request.
Jquery.getscript () Use an HTTP GET request to load a JavaScript file from the server, and then execute the file.
. Load () Load the data from the server and put the matching elements back into the HTML.
Jquery.param () Creates a serialized representation of an array or object, suitable for use in URL query strings or Ajax requests.
Jquery.post () Load data from the server using an HTTP POST request.
. Serialize () Serializes the contents of the form into a string.
. Serializearray () Serializes the form element, returning the JSON data structure.

JQuery Ajax Operation functions

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.