- Posts: 5061
- Thank you received: 1267
Ask the community, share ideas, and connect with other LimeSurvey users!
Even without your excellent workarounds we can recommend to disable AJAX modetpartner wrote: I suggest disabling AJAX in the survey theme options.
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ var otherOffset = 1; var newOtherIndex = ($('#question{QID} .answer-item').length-(otherOffset+1)); $('#question{QID} .answer-item:eq('+newOtherIndex+')').before($('#question{QID} .answer-item[id$="other"]')); }); </script>