Introduction to JQuery Ajax

Source: Internet
Author: User

First, what is Ajax

AJAX = Asynchronous JavaScript and XML (asynchronous JavaScript and XML)

In short, Ajax loads the data in the background without loading the entire page, and displays it on the page.

Ajax is a web development technique that creates interactive Web applications.

Second, JQuery AJAX

jquery provides multiple AJAX-related methods for requesting text from a remote server via HTTP Get and HTTP Post.

HTML XML or JSON at the same time you can load these external data directly into the selected elements of the Web page.

JQuery AJAX Load () method:

The load () method loads the data from the server and puts the returned data into the selected element.

Grammar:

$ (selector). Load (url,data,callback);

1>url: Specifies the URL to load. (Required parameters)

2>data: Specifies the query string to be sent with the request, Key/value form, (optional parameter)

function functions that are executed after the 3>callback:load () method finishes.

Introduction to JQuery Ajax

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.