- Posts: 29
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
$('input.radio[value="Y"]').click(function(){ ...
<script type="text/javascript"> $(document).ready(function() { // Initially disable the Next/Submit button $('#movesubmitbtn').hide(); // Listeners on Yes/No radios to toggle the Next/Submit button $('#label-answer535778X13268X208195Y').click(function(){ $('#movesubmitbtn').show(); }); $('#label-answer535778X13268X208195N').click(function(){ $('#movesubmitbtn').hide(); }); }); </script>
<script type="text/javascript"> $(document).ready(function() { // Initially disable the Next/Submit button $('#movenextbtn, #movesubmitbtn').hide(); // Listeners on Yes/No radios to toggle the Next/Submit button $('#label-answer{SGQ}Y').click(function(){ $('#movenextbtn, #movesubmitbtn').show(); }); $('#label-answer{SGQ}N').click(function(){ $('#movenextbtn, #movesubmitbtn').hide(); }); }); </script>
<script type="text/javascript"> $(document).ready(function() { // Initially disable the Next/Submit button $('#movenextbtn, #movesubmitbtn').prop('disabled', true); // Listeners on Yes/No radios to toggle the Next/Submit button $('#label-answer{SGQ}Y').click(function(){ $('#movenextbtn, #movesubmitbtn').prop('disabled', false); }); $('#label-answer{SGQ}N').click(function(){ $('#movenextbtn, #movesubmitbtn').prop('disabled', true); }); }); </script>