日期:2014-05-16 浏览次数:20303 次
${question.selectanswer==null?"":question.selectanswer}; // if(${question.selectanswer!=null}){ var a = new Array(); // a=${question.selectanswer}; a= ${question.selectanswer==null?"[]":question.selectanswer}; for(var i=0;i<a.length;i++ ){ $("#select").append('<ul><input type="text" value="'+a[i]+'" name="answers" style="width:300px"></ul>'); } // }