|
|
|
@ -24,12 +24,18 @@
|
|
|
|
|
$("#poll_questions_title").focus();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//确定按钮
|
|
|
|
|
//添加标题时确定按钮
|
|
|
|
|
function add_poll_question(obj)
|
|
|
|
|
{
|
|
|
|
|
var title = $.trim($("#poll_questions_title").val());
|
|
|
|
|
if(title.length == 0){alert("标题不能为空");}else{doc.parent().parent().parent().submit();}
|
|
|
|
|
}
|
|
|
|
|
//修改标题时确定按钮
|
|
|
|
|
function edit_poll_question(obj,id)
|
|
|
|
|
{
|
|
|
|
|
var title = $.trim($("#poll_questions_title_" + id).val());
|
|
|
|
|
if(title.length == 0){alert("标题不能为空");}else{doc.parent().parent().parent().submit();}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//问卷头
|
|
|
|
|
function pollsCancel(){$("#polls_head_edit").hide();$("#polls_head_show").show();}
|
|
|
|
|