I had the following script to add an extra row in array questions in the past, but it is no longer working with the current version (3.22.17, professional hosted).
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
// Identify this question
var thisQuestion = $('#question{QID}');
// Insert the new header row
$('table.subquestions-list thead', thisQuestion).prepend('<tr class="new-header">\
<td> </td>\
<th colspan="6" style="text-align:left;">Not satisfied at all</th>\
<th colspan="5" style="text-align:right;">Completely satisfied</th>\
<th></th>\
</tr>');
});
</script>
Essentially it is so that I have an extra row that looks like this (red part):
Any thoughts on how I can get it to work on the latest version?