var subsecondClass = new Array(); var subthirdClass = new Array(); subsecondClass[0] = new Array('4','1','现代史') subsecondClass[1] = new Array('3','1','近代史') subsecondClass[2] = new Array('7','6','软件') subthirdClass[0] = new Array('8','7','程序员') subthirdClass[1] = new Array('10','7','web前端') subsecondClass[3] = new Array('9','6','硬件') subsecondClass[4] = new Array('5','2','小学教师资格') function showSecondClass(selectValue) { document.getElementById('SmallClassID').length = 0; document.getElementById('SmallClassID').options[0] = new Option('请选择',''); document.getElementById('ClassID').length = 0; document.getElementById('ClassID').options[0] = new Option('请选择',''); for (var i=0; i1) { document.getElementById('SmallClassID').style.display=''; }else{ document.getElementById('SmallClassID').style.display='none'; } } function showThirdClass(selectValue) { document.getElementById('ClassID').length = 0; document.getElementById('ClassID').options[0] = new Option('请选择',''); for (var i=0; i1) { document.getElementById('ClassID').style.display=''; }else{ document.getElementById('ClassID').style.display='none'; } } document.write (""); document.write (" "); document.write (" ");