dio-v
11/9/2016 - 9:08 AM

wrap siblings same class

wrap siblings same class

    $('.eenderde').not('.eenderde + .eenderde').each(function () {
        $(this).nextUntil(':not(.eenderde)').addBack().wrapAll('<div class="row"/>')
    })