Make div wrap around all content or wrapped by another div jQuery

The following web example consists of 3 divs with id content each. The scripts executed, using the wrapAll() and wrapInner() functions, will be the following:

  • We select all the div with id content and place a div with id content_external that wraps them all.
  • We select all the div with id content and we place in its interior a div with id content_inner that is wrapped by each selected div.
Comments

PHP Captcha


Interesting Articles