我正在使用jQuizMe来准备问卷,如果正确的答案是以上所有问题,我的一个问题就是列出多列表问题的答案。
这是我的剧本:
multiList: [
{
ques: "The answer is:",
ans: "All of the above",
ansSel: [Answer 1","Answer 2","Answer 3","Answer 4" ]
}
答案显示为:
Answer 1
Answer 2
All of the above
Answer 3
Answer 4
我想将其显示为:
Answer 1
Answer 2
Answer 3
Answer 4
All of the above
感谢您的建议。
答案 0 :(得分:2)
null
。在你的情况下,它将在最后。<强>的jsfiddle 强> http://jsfiddle.net/adiioo7/qWjBq/
<强> HTML 强>
<div id="quiz3"></div>
<强> JS 强>
$(function ($) {
var quiz3 = {
multiList: [{
ques: "Question1?",
ans: "All of the above",
ansSel: ["Answer 1", "Answer 2","Answer 3", "Answer 4",null ]
}]
};
$("#quiz3").jQuizMe(quiz3);
});