questionmanage.js

来自「本在线考试系统采用了面向对象的分析和设计」· JavaScript 代码 · 共 26 行

JS
26
字号
// JScript 文件
function OpenAddWindow()
{
    var ID=document.getElementById("EditTreeView1_ID");
    chapterId=ID.value;
    if(chapterId=="")
    {
        alert("请选择章节");
        return;
    }
    typeDD=document.getElementById("questionTypeDD");
    hardDD=document.getElementById("hardDD");
    hard=hardDD.options[hardDD.selectedIndex].value;
    type=typeDD.options[typeDD.selectedIndex].value;
         
   window.open(type+".aspx?Action=Add&ChapterId="+chapterId+"&Hard="+hard,"NewQuestion","width=500,height=500,scrollbars=yes,resizable=yes");


}
//hanjie
function ShowMaintainWindow(QuestionType,Action,QuestionId)
{
     window.open(QuestionType+".aspx?Action="+Action+"&QuestionId="+QuestionId,"NewQuestion","width=500,height=500,scrollbars=yes,resizable=yes");
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?