将以下代码配合xzqh1.js文件可以正常运行,但下方的select会挡住部分弹出对话框,通过网上查询很多人介绍通过iframe来完成遮档,文件xzdh2.js为添加了iframe的JS文件,但无论我如何修改,都无法正常运行,请大家帮我修改xzdh2.js,问题可能主要出在几行
document.getElementById代码上。两个js文件请见文件。
<SCRIPT src="xzqh1.js" type=text/javascript></SCRIPT>
<table  width="49%" id="table1" height="35">
<tr>
<td width="20%" style="BACKGROUND:#B3C9E1" align="right" class="text2" height="31">
<b><span class="style3">
<font color="#FFFFFF">出生地:</a></font></span></b></td>
<td width="29%" class="text" height="31">
<input name="date1" type =text class="text1" onclick ='setqh(this)' value="420107004005" size="20"></td>
</tr>
</table>
<p>注意观察点击出生地后的效果显著<select style="width:200px"><option value='' >请选择</option>
<option value='1'>湖北省</option>
<option value='2'>湖南省</option></select>
</p>