一个有关frame的问题
一个上下两层的框架,要实现的功能为,点击"查看"按钮,然后在下面一层中显示查看所链接的网页
代码如下:
<form method="post" name="frmPlan" action="">
<table width="301" height="186" border="1" align="center" cellpadding="1" cellspacing="1">
<tr>
<td height="58"><input type="button" name="bb" value="查看" onClick="vbs:frmPlan.action='ok.htm':frmPlan.target='I1':frmPlan.submit" >
</td>
</tr>
<tr>
<td>
<iframe name="I1" marginwidth="0" marginheight="0" frameborder="0" height="100%" width="100%" src="submit.asp" >浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe>
</td>
</tr>
</table>
</form>
其中
submit.asp是可以正常显示的,但是点“查看”的时候就是没反应,小弟初学,会的不多,请高手们不吝赐教啦~~~~