有人可以检查为什么我的 javascript 代码不能在 Internet Explorer 9 中运行,但在 Firefox 中运行正常吗???代码在谷歌浏览器中也不起作用。
<html>
<head>
<title>test</title>
<script type="text/javascript">
function showF4(){
document.getElementById('showF4').style.display = "block";
}
</script>
</head>
<body>
<form method="post" action="" enctype="multipart/form-data" method="post">
<p><select class="selField" id="list_sel" name="list_type" >
<option id="F4DOL" onmouseover="showForm7()" onmouseout="hideForm7()" onclick="showF4()" value="F4 Document List"> F4 Document List </option>
</select></p>
</form>
<div id="showF4" style="display: none">
<p><font color="red">*</font>Feature:
<input id="f4_input" name="f4_input" type="text" value="" /> </p>
</div>
</body>
</html>