What are some of the common functions in jquery and what do they mean?

Source: Internet
Author: User
Tags http post

The functions commonly found in jquery are as follows:

(1) Get () gets a collection of all matching DOM elements.

(2) Get (index) gets one of the matching elements. The index represents the element that gets the first few matches.

(3) Append (content) appends the contents to each matching element.

(4) after (content) each matched element is inserted after the content.

(5) HTML ()/html (Var) Gets or sets the HTML content of the matching element.

(6) Find (expr) searches for all elements that match the specified expression.

(7) Bind (TYPE,[DATA],FN) binds event handlers for specific events of each matching element.

(8) empty () deletes all the child nodes in the matching element collection.

(9) Hover (Over,out) a method that mimics the hover event (moving the mouse over an object and removing the object).

(x) attr (name) Gets the value of the first matching element.

AddClass (Class) and Removeclass (class) Add or remove styles for the specified element.

CSS (name) accesses the style attributes of the first matching element.

Ajax ([options]) loads remote data over HTTP requests.

Get (Url,[data],[callback],[type]) loads information through a remote HTTP GET request.

Post (Url,[data],[callback],[type]) to load information through a remote HTTP POST request.

Load (Url,[data],[callback]) loads the remote HTML file code and inserts it into the DOM.

What are some of the common functions in jquery and what do they mean?

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.