Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery wrap div around multiple elements

<input class="i1"/>
<label class="i1"/>
<input class="i2"/>
<label class="i2"/>

$('.i1').wrapAll('<div/>');
$('.i2').wrapAll('<div/>');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #wrap #div #multiple #elements
ADD COMMENT
Topic
Name
1+9 =