- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
I use ... | |
I prefer to use ... | ... a mobile Phone |
People at my workplace use... |
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { // Identify this question var thisQuestion = $('#question{QID}'); // Insert the new table cells $('.subquestions-list thead td:eq(0)', thisQuestion).after('<td />'); $('th.answertext:eq(0)', thisQuestion).after('<td class="inserted-cell" rowspan=3">...a mobile Phone</td>'); $('th.answertext:eq(3)', thisQuestion).after('<td class="inserted-cell" rowspan=3">...a Pager</td>'); // Remove the column widths imposed by LimeSurvey $('col', thisQuestion).removeAttr('width'); $('.subquestions-list', thisQuestion).css('width', '100%'); }); </script>