- Posts: 27
- 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(){ addQuestionReset('{QID}'); function addQuestionReset(qID) { var thisQuestion = $('#question'+qID+''); $('table.subquestion-list', thisQuestion).after('<input type="button" class="btn btn-primary" style="float:right;" value="Resetear Repuestas" class="resetQuestionButton" />'); $('#question'+qID+' .resetQuestionButton').click(function(e){ $('input[type="radio"]', thisQuestion).prop('checked', false); }); } }); </script>
Disculpes, no entiendo que quieres decir.todos los códigos que insertamos en las preguntas de las encuestas son html con javascript.