- Posts: 6
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<div class="question-1"> <!-- Start of inserted div --> <div class="inserted-div"> </div> <div class="question-2"> </div> <!-- End of inserted div --> </div>
<div class="question-1"> <!-- Start of inserted div --> <div class="inserted-div"> </div> <div class="question-2"> </div> <!-- End of inserted div --> </div>
<div class="question-1"> <div class="inserted-div"> </div> // Originally this should close the "question-1" div, but it actually closes the "inserted-div" already <div class="question-2"> </div> // This one was supposed to close the "inserted-div", but what it actually does now is closing the "question-2" div already. <!-- End of inserted div --> </div> // This one originally should close "question-2", but now it closes "question-1"
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $('#question2 .questiontext').append($('#question1')); }); </script>