<mce:script language="javascript"><!-- //启动加载隐藏表格 var cxlx = document.getElementById('cxlx').value; if (cxlx =='1'){ document.getElementById('D1').style.display= 'none'; document.getElementById('D2').style.display= ''; } if (cxlx =='2'){ document.getElementById('D2').style.display= 'none'; document.getElementById('D1').style.display= ''; } // --></mce:script> //下拉菜单响应JS 隐藏控件表单 <select name="cxlx" id="cxlx" style="width:150" οnchange="goCloch(this)"> <option value="1" > 未参加选课名单 </option> <option value="2" > 对比教学计划漏选 </option> </select> <tr id="D1" style="display:" mce_style="display:"> <td width="37%" align="right" height="29">选课类别</td> </tr> <tr id="D2" style="display:" mce_style="display:"> <td width="37%" align="right" height="29">选课类别</td> </tr>