- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { // Identify the questions var thisQuestion = $('#question{QID}'); var nextQuestion = $(thisQuestion).nextAll('.text-long:eq(0)'); // Hide the long-text question $(nextQuestion).hide(); // Move the textarea $('ul.subquestions-list', thisQuestion).after($('textarea', nextQuestion)); // Some styling $('ul.subquestions-list', thisQuestion).css({ 'width':'50%', 'float':'left' }); $('textarea', thisQuestion).css({ 'float':'right' }); }); </script>