Skip to content
Alexey Kupriyanenko edited this page Apr 13, 2015 · 8 revisions

.html()

This method does not accept any arguments.

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

.html(content)

content 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(content)

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.

.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.