Ask the community, share ideas, and connect with other LimeSurvey users!
.card-sort-question ul.subquestions-list { display: block; position: absolute; left: -9999em; }
// Insert the "cards" $('li.answer-item', thisQuestion).each(function(i) { var thisSGQA = $(this).attr('id').replace(/javatbd/, ''); var thisCode = $(this).attr('id').split('X'+qID)[1]; var thisHTML = $('label', this).html(); $('div.items-start').append('<div class="card draggable" data-sgqa="'+thisSGQA+'" data-code="'+thisCode+'">\ '+thisHTML+'\ </div>'); });
// Insert the "cards" $('li.answer-item:visible', thisQuestion).each(function(i) { var thisSGQA = $(this).attr('id').replace(/javatbd/, ''); var thisCode = $(this).attr('id').split('X'+qID)[1]; var thisHTML = $('label', this).html(); $('div.items-start').append('<div class="card draggable" data-sgqa="'+thisSGQA+'" data-code="'+thisCode+'">\ '+thisHTML+'\ </div>'); });