- 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(){ elems = document.getElementsByClassName('dontread repeat headings') elems[0].remove(); }); </script>
$(document).ready(function() { if($('.array-multi-flexi tr.repeat').length > 0) { // Add some classes $(' tr.repeat').closest('.array-multi-flexi').addClass('with-extra-headers'); // Remove the extra label rows $('.with-extra-headers tr.repeat').parent().remove(); // Fix up the array row classes (colours) $('.with-extra-headers').each(function(i) { $('tr.array1, tr.array2', this).each(function(i) { $(this).removeClass('array1 array2'); if(i % 2 == 0) { $(this).addClass('array2'); } else { $(this).addClass('array1'); } }); }); } });