wrapAll around two elements?
Hi, I'd like to wrap a section around two elements. What I understand from wrapAll is that I could only either
wrap all h4 or p but not combined...
The current structure is:
- <section id="questions">
- <h4>Question</h4>
- <p>text></p>
- <h4>Question</h4>
- <p>text></p>
- <h4>Question</h4>
- <p>text></p>
- </section>
I'd like to archive:
- <section id="questions">
- <section class="question">
- <h4>Question</h4>
- <p>text></p>
- </section>
- <section class="question">
- <h4>Question</h4>
- <p>text></p>
- </section>
- <section class="question">
- <h4>Question</h4>
- <p>text></p>
- </section>
- </section>