Gets the HTML content of the first element in the matching set |
HTML () |
The return value is the same as what the innerHTML property of that element is getting |
Sets the incoming HTML fragment to the contents of all matching elements |
HTML (text) |
String, HTML Fragment |
Packing set |
Concatenate all text contents of elements in the package set and return a string |
Text () |
A concatenated string |
Set text content |
Text (content) |
Text content. <==> < |
Packing set |
Appends an intrusive HTML fragment or element to the contents of all matched elements |
Append (conent) |
string | element | object |
Packing set |
If there is only one element in the wrapper set, the appended element is removed from the original location. If there are multiple elements in the wrapper set, the Append element backup is used to append. The original location also has |
Moves all elements in the package set to the end of the specified target content |
AppendTo (target) |
string | element |
Packing set |
If the destination identifies only one target element, the element is moved and if the destination identifies more than one target element, the source element remains in its original position and is copied to each target element |
Prepend (conent) |
Packing set |
Prependto (target) |
Packing set |
Before the target element is inserted before the first child element of the target element |
Before (content) |
Packing set |
InsertBefore (target) |
Packing set |
After (content) |
Packing set |
InsertAfter (target) |
Packing set |
$ (' <p>hi there</p> '). InsertAfter (' P img ') |
Wrap each element of the matching set with a cloned copy of the passed HTML tag or the passed element, respectively. |
Wrap (wrapper) |
string | element |
Packing set |
$ (' a.suprise '). Wrap (' <div class= ' Hello ' ></div> |
Wrap the elements of the matching set as a unit. |
Wrapall (wrapper) |
string | element |
Packing set |
Wrap the contents of a matching set of elements separately. |
Wrapinner (wrapper) |
string | element |
Packing set |
Remove all elements from the package set from the page Dom |
Remove () |
Packing set |
Elements removed from the DOM are still referenced by the wrapper set. Will not be recycled |
Clears the contents of all DOM elements in the matching set |
Empty () |
$ (' Div.ekementtoreplace '). After (' <p>xdfsd</p> '). Remove () |
Creates a copy of the elements in the wrapper set, returning a new wrapper set |
Clone (Copyhandlers) |
True/false Replication Event handlers |
New Package Set |