2016-6-3ajax Asynchronous Review

Source: Internet
Author: User

Practice:

JQ Asynchronous No refresh paging

$.getjson () method Description:

The return value is an asynchronous request for a JSON object, the method parameter: 1, the request background address 2, the request to the background parameter 2, the request after the successful method and the return data

Snippet Picture: Asynchronously gets the JSON data returned in the background

Report:

$.get () method, with the same usage as $.getjson but returns to a string, executes a GET request

The $.post () method, with the same usage as the $.getjson but returns to a string, executes a POST request

$.ajax () method, the most comprehensive, can be based on their own needs, change the properties of the method to achieve their own needs for the purpose of the request, attribute detail Class query reference manual "W3cschool full set of web development manual"

2016-6-3ajax Asynchronous Review

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.