- Posts: 5
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ $('#question{QID} table.subquestion-list').append($('#question{QID} table.subquestion-list thead').clone()); }); </script>
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ $('#question{QID} table.subquestion-list').append($('#question{QID} table.subquestion-list thead').clone()); $('#question{QID} table.subquestion-list thead:last th').each(function(i) { var thisHTML = $(this).html(); if(thisHTML.indexOf('<br>') >= 0) { var aThisHTML = $(this).html().split('<br>'); $(this).html(aThisHTML[1]+'<br>'+aThisHTML[0]); } }); $('#question{QID} table.subquestion-list thead:last th').css('vertical-align', 'top'); }); </script>
1 <span class="notinhead">disagree</span>