Wrap all matched elements with a structure of other elements. This wrapping process is most useful for injecting additional structure into a document, without ruining the original semantic qualities of a document. This works by going through the first element provided (which is generated, on the fly, from the provided HTML) and finds the deepest ancestor element within its structure -- it is that element that will enwrap everything else.
This does not work with elements that contain text. Any necessary text must be added after the wrapping is done. 返回值 jQuery
Wrap all the elements in the matched set into a single wrapper element. This is different from '.wrap()' where each element in the matched set would get wrapped with an element. This wrapping process is most useful for injecting additional structure into a document, without ruining the original semantic qualities of a document.
This works by going through the first element provided (which is generated, on the fly, from the provided HTML) and finds the deepest ancestor element within its structure -- it is that element that will enwrap everything else. 返回值 jQuery
Wrap all the elements in the matched set into a single wrapper element. This is different from '.wrap()' where each element in the matched set would get wrapped with an element. 返回值 jQuery
Wrap the inner child contents of each matched element (including text nodes) with an HTML structure. This wrapping process is most useful for injecting additional structure into a document, without ruining the original semantic qualities of a document. This works by going through the first element provided (which is generated, on the fly, from the provided HTML) and finds the deepest ancestor element within its structure -- it is that element that will enwrap everything else. 返回值 jQuery
Removes all matched elements from the DOM. This does NOT remove them from the jQuery object, allowing you to use the matched elements further. Can be filtered with an optional expression. 返回值 jQuery
Clone matched DOM Elements, and all their event handlers, and select the clones. This is useful for moving copies of the elements, and their events, to another location in the DOM. 返回值 jQuery
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn