次のようにコードコードをコピーします。
<head>
<スクリプト>
function check(){
var num = document.getElementById( "choose")。
アラート(num);
if(num == "4"){{
document.getElementById( "show")。
} それ以外 {
document.getElementById( "show")display = "none";
}
}
</script>
</head>
<bodyのみ= "check()">
<select id = "choeose" onchange = "check()">
<オプション値= "1"> first </option>
<オプション値= "2"> second </option>
<オプション値= "3"> 3番目の</option>
<オプション値= "4"> 4番目</option>
</select>
<div id = "show" style = "display:none;">
<表>
<tr>
<td>アスプロマを持っている人、物事は実際には</td>です
<td>実践可能な人々、天は動揺しています</td>
</tr>
</table>
</div>
</body>