| Name | Type |
|---|
| Name | Type |
|---|---|
| html( ) | Returns: String |
| Get the html contents (innerHTML) of the first matched element. This property is not available on XML documents (although it will work for XHTML documents). | |
| html( val ) | Returns: jQuery |
| Set the html contents of every matched element. This property is not available on XML documents (although it will work for XHTML documents). | |
| text( ) | Returns: String |
| Get the combined text contents of all matched elements. | |
| text( val ) | Returns: jQuery |
| Set the text contents of all matched elements. | |
| Name | Type |
|---|---|
| append( content ) | Returns: jQuery |
| Append content to the inside of every matched element. | |
| appendTo( selector ) | Returns: jQuery |
| Append all of the matched elements to another, specified, set of elements. As of jQuery 1.3.2, returns all of the inserted elements. | |
| prepend( content ) | Returns: jQuery |
| Prepend content to the inside of every matched element. | |
| prependTo( selector ) | Returns: jQuery |
| Prepend all of the matched elements to another, specified, set of elements. As of jQuery 1.3.2, returns all of the inserted elements. | |
| Name | Type |
|---|---|
| after( content ) | Returns: jQuery |
| Insert content after each of the matched elements. | |
| before( content ) | Returns: jQuery |
| Insert content before each of the matched elements. | |
| insertAfter( selector ) | Returns: jQuery |
| Insert all of the matched elements after another, specified, set of elements. As of jQuery 1.3.2, returns all of the inserted elements. | |
| insertBefore( selector ) | Returns: jQuery |
| Insert all of the matched elements before another, specified, set of elements. As of jQuery 1.3.2, returns all of the inserted elements. | |
| Name | Type |
|---|---|
| wrap( html ) | Returns: jQuery |
| Wrap each matched element with the specified HTML content. | |
| wrap( elem ) | Returns: jQuery |
| Wrap each matched element with the specified element. | |
| wrapAll( html ) | Returns: jQuery |
| Wrap all the elements in the matched set into a single wrapper element. | |
| wrapAll( elem ) | Returns: jQuery |
| Wrap all the elements in the matched set into a single wrapper element. | |
| wrapInner( html ) | Returns: jQuery |
| Wrap the inner child contents of each matched element (including text nodes) with an HTML structure. | |
| wrapInner( elem ) | Returns: jQuery |
| Wrap the inner child contents of each matched element (including text nodes) with a DOM element. | |
| Name | Type |
|---|---|
| replaceWith( content ) | Returns: jQuery |
| Replaces all matched elements with the specified HTML or DOM elements. This returns the JQuery element that was just replaced, which has been removed from the DOM. | |
| replaceAll( selector ) | Returns: jQuery |
| Replaces the elements matched by the specified selector with the matched elements. As of jQuery 1.3.2, returns all of the inserted elements. | |
| Name | Type |
|---|---|
| empty( ) | Returns: jQuery |
| Remove all child nodes from the set of matched elements. | |
| remove( expr ) | Returns: jQuery |
| Removes all matched elements from the DOM. | |
| Name | Type |
|---|---|
| clone( ) | Returns: jQuery |
| Clone matched DOM Elements and select the clones. | |
| clone( bool ) | Returns: jQuery |
| Clone matched DOM Elements, and all their event handlers, and select the clones. | |
© 2009 John Resig and the jQuery Team.
Hosting provided by Media Temple
