<div class="codetitle"> <span><a style="CURSOR: pointer" data="23560" class="copybut" id="copybut23560" onclick="doCopy('code23560')"><u>复主代码</u></a></span> 代码如下:</div> <div class="codebody" id="code23560"> <br><head> <br><스크립트> <br>function check(){ <br><br>var num = document.getElementById("choose").value; <br>경고(숫자); <br>if(num=="4"){ <br>document.getElementById("show").style.display="block"; <br>}else{ <br>document.getElementById("show").style.display="none"; <br>} <br>} <br></script> <br></head> <br><body onload="check()"> <br><br><br><select id="choose" onchange="check()"> <br><option value="1">第一</option> <br><option value="2">제2</option> <br><option value="3">第三</option> <br><option value="4">제4</option> <br></select> <br><br><br><div id="show" style="display:none;"> <br><테이블> <br><tr> <br><td>有志者,事竟成</td> <br><td>苦心人,天不负</td> <br></tr> <br></테이블> <br></div> <br></body> <br> </div>