- Posts: 17
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Change the second suffix $('#question{QID} .suffix-text:eq(1)').text('ounces'); }); </script>
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Change the first suffix $('#question{QID} .suffix-text:eq(0)').text('years'); // Change the second suffix $('#question{QID} .suffix-text:eq(1)').text('days'); // Change the third suffix $('#question{QID} .suffix-text:eq(2)').text('hours'); }); </script>
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // Change the first suffix $('#question{QID} .suffix-text:eq(0)').html('<strong>Y</strong>ears'); // Change the second suffix $('#question{QID} .suffix-text:eq(1)').html('<strong>D</strong>ays'); // Change the third suffix $('#question{QID} .suffix-text:eq(2)').html('<strong>H</strong>ours'); }); </script>