- Posts: 5055
- Thank you received: 1267
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ //Identify this question var qID = '{QID}'; var thisQuestion = $('#question'+qID); // Retrieve the answer codes from the "order" question var answerCodes = '{order}'.split(','); // Loop through the answer codes $.each(answerCodes, function(i, code) { xcode=code.trim(); $('li[id$="X'+qID+xcode+'"]').appendTo($('ul.sortable-choice', thisQuestion)); }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.