- Posts: 6
- 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 thisQuestion = $('#question'+{QID}+''); // Set the slider maximums $('.ui-slider:eq(0)', thisQuestion).slider('option', 'max', 45 ); // First slider $('.ui-slider:eq(1)', thisQuestion).slider('option', 'max', 60 ); // Second slider $('.ui-slider:eq(2)', thisQuestion).slider('option', 'max', 80 ); // Third slider // Adjust the "Slider Max" displayed $('.ui-slider', thisQuestion).each(function(i) { $('.slider-showmax', this).text($(this).slider('option', 'max')); }); }); </script>