- Posts: 26
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ var fixedItems = ['SQ005', 'SQ006', 'SQ007', 'other']; //// NO EDITING REQUIRED BELOW HERE //// // Identify this question var thisQuestion = $('#question{QID}'); $.each(fixedItems, function(e, code) { $('li[id$="'+code+'"]').appendTo($('.answers-list', thisQuestion)); }); }); </script>
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(){ var fixedItems = ['5', '6', '7', 'other']; //// NO EDITING REQUIRED BELOW HERE //// // Identify this question var qID = '{QID}'; var thisQuestion = $('#question'+qID); $.each(fixedItems, function(e, code) { $('li[id$="'+qID+code+'"]').appendTo($('.answers-list', thisQuestion)); }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.