- Posts: 32
- Thank you received: 2
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:complete',function() { // Identify this question var thisQuestion = $('#question{QID}'); // Label for columns 6-7 (column-7 label spans 2 columns) $('thead th:eq(7)', thisQuestion).prop('colspan', 2).prev().remove(); // Label for columns 3-5 (column-4 label spans 3 columns) $('thead th:eq(4)', thisQuestion).prop('colspan', 3).next().remove(); $('thead th:eq(4)', thisQuestion).prev().remove(); // Label for columns 1-2 (column-1 label spans 2 columns) $('thead th:eq(1)', thisQuestion).prop('colspan', 2).next().remove(); }); </script>