Skip to content
Alexey Kupriyanenko edited this page Nov 13, 2013 · 8 revisions

.find(selector)

selector A string containing a selector expression to match elements against.

Get the descendants of each element in the current set of matched elements, filtered by a selector.

.get(index)

index A zero-based integer indicating which element to retrieve.

Retrieve the DOM elements matched by the jQuery object.

.eq(index)

index A zero-based integer indicating which element to retrieve.

Reduce the set of matched elements to the one at the specified index.

.html()

This method does not accept any arguments.

Get the HTML contents of the first element in the set of matched elements.

.html(html)

html A string of HTML, HTMLElement, jBone Object or DocumentFragment to set as the content of each matched element.

Set the HTML contents of each element in the set of matched elements.

.append(html)

html DOM element, array of elements, HTML string, or jBone object to insert at the end of each element in the set of matched elements.

Insert content, specified by the parameter, to the end of each element in the set of matched elements.

.appendTo(element)

element A selector, element, HTML string, array of elements, or jBone object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.

Insert every element in the set of matched elements to the end of the target.

.parent()

This method does not accept any arguments.

Get the parent of each element in the current set of matched elements.

.parents(selector)

Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.

.empty()

This method does not accept any arguments.

Remove all child nodes of the set of matched elements from the DOM.

.remove()

This method does not accept any arguments.

Remove the set of matched elements from the DOM.