- Posts: 24
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var thisQuestion = $('#question{QID}'); // Define the new row var insertedRow = '<tr>\ <td></td>\ <th colspan="1" class="text-center"><span style="font-size:20px;"><strong>No</th>\ <th colspan="1" class="text-center"><span style="font-size:20px;"><strong>Yes</th>\ <th colspan="2" class="text-center"><span style="font-size:20px;"><strong>Yes etc</th>\ <th colspan="2" class="text-center"><span style="font-size:20px;"><strong>Yes etc</th>\ <th colspan="2" class="text-center"><span style="font-size:20px;"><strong>Yes etc</th>\ <th colspan="2" class="text-center"><span style="font-size:20px;"><strong>Yes etc</th>\ </tr>'; // Insert the new row before all header rows $('table.subquestion-list tr.ls-heading', thisQuestion).before(insertedRow); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.