- Posts: 9
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" src="https://demonstration.sondages.pro/upload/templates/select_filter_citronade/selectfilter.js"></script> <script type="text/javascript" charset="utf-8"> selectFilterByCode({QID},{SECTION.qid}); </script>
deejroamer wrote: @DenisChenu, Thank you for your amazing out of the box script. I just modded it a bit so that the CSS of the new select is same as it was for the original select.
Link Here
I am not sure how long link will be up so To do the same
Add this lineCode:var classSelectFilter = $("#question"+qID).find("select").attr('class');
Mod this lineCode:var NewSelectElement = "<select id='"+idNewSelectFilter+"' class='"+classSelectFilter+"'><option value=''>"+$("#"+idSelectFilter+" option[value='']:first").text()+"</option></select>";
Non,jonaskoeppel wrote: PS: Denis, j'ai constaté que tes réponses sont plus rapides au forum que par mail, peut-être c'est par ce moyen que je t'écrivrai au prochainement
$('#'+idSelectFilter).trigger('change');