.wrapinner() Method

Syntax

.wrapInner()

Description

.wrapinner() method is used to wrap the specified HTML structure around the content of each matched elements. The below example shows you how to wrap a HTML element to the content of matched elements.

Example Code

Result:

jQuery Tutorial

This is .text() jQuery





Ask Questions

Ask Question