- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Yes, this is very probable.Maybe there is a version conflict here.
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var qID = {QID}; // Answers are exclusive by column (except last column) $('#question'+qID+' td:not(:last-child) input[type="radio"]').click(function(event){ var thisAnsCode = $(this).attr('id').split('-')[1]; $('#question'+qID+' input[id$="-'+thisAnsCode+'"]').prop('checked', false); $(this).prop('checked', true); }); }); </script>