<script type="text/javascript" charset="utf-8">
$(document).ready(function(){// The subquestion code to place in the last positionvar fixedCode ='A1';// Identify this questionvar q1ID ={QID};var thisQuestion = $('#question'+q1ID);// Move the "fixed" row to the end
$('table.subquestion-list tbody', thisQuestion).append($('tr[id$="X'+q1ID+fixedCode+'"]'));// Fix up the array row background colours
$('tr.answers-list', thisQuestion).each(function(i){
$(this).removeClass('array1 array2').addClass('array'+(2-(i%2)));});});</script>
But there is a problem
Each loop title has a fixed answer.