js中,三元运算的简单应用:
var sinOrMul = "";
sinOrMul =(subType=="single")?("<span class='quesType'>单选题</span>"):("<span class='quesType'>多选题</span>");