Jquery

jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery wrapInner() Method

jQuery wrapInner() Method

 

 

The wrapInner() method is used to wrap specified HTML elements around the content of each selected element.

 

Syntax:-

 

Its syntax is:- $(selector).wrapInner(wrappingElement, function(index))

 

Further Explanation:-

 

Parameter Description
wrappingElement Required. Specifies what HTML element to wrap around the content of each selected element.
function(index) Optional. Specifies a function that returns the wrapping element
  • index - Returns the index position of the element in the set

Code Explanation

All Tutorials related to jQuery CSS and HTML Methods

All Sections related to Jquery