Home >Web Front-end >JS Tutorial >Brief description of jquery document operation wrap() method example_jquery

Brief description of jquery document operation wrap() method example_jquery

WBOY
WBOYOriginal
2016-05-16 16:21:161165browse

The example in this article describes the jquery document operation wrap() method. Share it with everyone for your reference. The specific implementation method is as follows:

wrap() method: refers to wrapping an element with a certain tag, that is, adding an extra layer of tags outside.

Copy code The code is as follows:


jquery document operation: wrap() method




hello world
i love you!
hhaha ,goodmorning




I hope this article will be helpful to everyone’s jQuery programming.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn