- Posts: 2
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ $('#ls-button-submit').hide(); $('#question{QID} :radio').on('change', function(e) { $('#ls-button-submit').trigger('click'); }); }); </script>
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ $('#question{QID} :radio').on('change', function(e) { $('#question{QID}').hide(); // oder // $('#question{QID}').slideUp('1000'); }); }); </script>
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ $('#question{QID} :radio').on('change', function(e) { $('#question{QID} .answer-container').slideUp('2000'); }); }); </script>
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var thisQuestion = $('#question{QID}'); var thisTable = $('table.subquestion-list:eq(0)', thisQuestion); // Hide all but the first array rows $('tbody tr:not(:first)', thisQuestion).hide(); // Remove repeat heading rows if($('tbody', thisTable).length > 0) { $('tbody:gt(0) tr[id^="javatbd"]', thisTable).appendTo($('tbody:eq(0)', thisTable)); $('tbody:gt(0)', thisTable).remove(); } // Listener on the radios $('.answer-item :radio', thisQuestion).on('click', function(event) { var thisRow = $(this).closest($('tr[id^="javatbd"]')); thisRow.fadeOut(500) }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.