The .wrapInner() function can take any string or object that could be passed
to the $() factory function to specify a DOM structure. This structure may be
nested several levels deep, but should contain only one inmost element. The
structure will be wrapped around the content of each of the elements in the
set of matched elements.
The .wrapInner() function can take any string or object that could be passed to the $() factory function to specify a DOM structure. This structure may be nested several levels deep, but should contain only one inmost element. The structure will be wrapped around the content of each of the elements in the set of matched elements.
Example
Returns
The instance itself, for chaining.
See
https://api.jquery.com/wrapInner/