87,910
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript">
function showl()
{
var obj=document.getElementById("leixing");
alert(obj.options[obj.selectedIndex].value);
if(obj.options[obj.selectedIndex].value=="教职工")//这个右括号错了,你打的是中文状态下的右括号
{
alert(obj.options[obj.selectedIndex].value);
document.getElementById("jiaozhigong").style.display="";
document.getElementById("xues").style.display="none";
}
}
</script>