jquery implementation of AJAX related issues ask

Source: Internet
Author: User
jquery to implement Ajax questions to ask?
I used the jquery load method together, as if there was a $.ajax method, what's the difference between the two?

Share to:


------Solution--------------------
The Load method I remember associating with an object.
After the first div1.load (), the server-side results are automatically loaded into the div block (whatever the server returns, forcing the load into Div1).

$.ajax, the above mechanism is not set. The data returned by the server can be processed at random after it is received.
------Solution--------------------

References:
I used the jquery load method together, as if there was a $.ajax method, what's the difference between the two?

Simply put: Load cannot process the returned data, and $.ajax can handle the re-display first.
------Solution--------------------
Load allows you to use Div as an iframe, $.ajax is to communicate with the daemon and return the result
  • 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.