How can I use wrap around the content with the placeholder div using jQuery.
So I can turn this -
<div class="placeholder"></div>
<div class="content"></div>
<div class="content"></div>
<div class="content"></div>
<div class="content"></div>
<div class="placeholder"></div>
<div class="content"></div>
<div class="content"></div>
<div class="placeholder"></div>
<div class="content"></div>
<div class="content"></div>
<div class="content"></div>
<div class="placeholder"></div>
Into this
<div class="wrap">
<div class="placeholder"></div>
<div class="content">Abcd</div>
<div class="content">Abcd</div>
<div class="content">Abcd</div>
<div class="content">Abcd</div>
</div>
<div class="wrap">
<div class="placeholder"></div>
<div class="content">Abcd</div>
<div class="content">Abcd</div>
</div>
<div class="wrap">
<div class="placeholder"></div>
<div class="content">Abcd</div>
<div class="content">Abcd</div>
<div class="content">Abcd</div>
</div>