- Posts: 29
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ // Identify this question var qID = {QID}; var thisQuestion = $('#question'+qID); var optionLabels = { 1: 'Label 1', 2: 'Label 2', 3: 'Label 3', 4: 'Label 4', 5: 'Label 5', 6: 'Label 6' } $.each(optionLabels, function(i, val) { $('select.form-control option[value="'+i+'"]', thisQuestion).text(val); }); }); </script>