A页面与b页面共同构成一个frame叫C,能否实现,C中的form提交(document.form1.submit();),只刷新B页面? target=frameBA页面与b页面如何共同构成的? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><FRAMESET rows=\"50,*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\"><FRAME NAME="A\" SRC=\"/businesscompass/manager?op=report_toolbar\" MARGINWIDTH=2 MARGINHEIGHT=2 SCROLLING=Auto><FRAME NAME="B" SRC=\"=report_getdata&reportID=\"+reportID MARGINWIDTH=8 MARGINHEIGHT=4 SCROLLING=Auto></FRAMESET><form name="form1" action="/businesscompass/manager"> <input type="hidden" name="reportID" value="Standard report.362834531"> <input type="hidden" name="action" value="get"> <input type="hidden" name="op" value="report_designfinish"></form><script>function finish(){ document.form1.submit();}</script></html> 我想在调用finish()函数的时候,通过提交form1的内容,来更新FRAME NAME="B"的内容,而不刷新A的内容。 可以用iframe很容易的实现c页面:<script>function aa(){self.frames["b"].location.href=NewUrl;}</script><body><iframe name=a src=a.htm></iframe><iframe name=b src=b.htm></iframe><form name=1 onsubmit=aa()></form></body>如果要在 很简单.在form的target属性中指定B页所在的frame名字就就是了:<form name="form1" action="/businesscompass/manager" target=B> 脚本中就这样写<script>function finish(){ document.form1.target="B" //注意大小写哦 document.form1.submit();}</script> 我又来请教了~~ 浏览器后退之后,怎样保留之前JavaScript产生的效果 打印问题---急急急急急急(打印完成) 感觉不可思议的代码 IE10升级有什么比较好的兼容IE8版本为基础开发的前台代码的策略么? 如何通过select语句正确地得到字段 100分求助 求一段JAVASCRIPT代码(高手请进!在线等待!) 一个关于iframe的问题, js遍历树结构 请问如何实现当鼠标悬停在一行文字上时,出现一个悬停窗口,当鼠标移开后,关闭。 比较难,先给200分。用showModalDialog怎么屏蔽右上角的关闭按钮或点击时提示?
<FRAMESET rows=\"50,*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">
<FRAME NAME="A\" SRC=\"/businesscompass/manager?op=report_toolbar\" MARGINWIDTH=2 MARGINHEIGHT=2 SCROLLING=Auto>
<FRAME NAME="B" SRC=\"=report_getdata&reportID=\"+reportID MARGINWIDTH=8 MARGINHEIGHT=4 SCROLLING=Auto>
</FRAMESET>
<form name="form1" action="/businesscompass/manager">
<input type="hidden" name="reportID" value="Standard report.362834531">
<input type="hidden" name="action" value="get">
<input type="hidden" name="op" value="report_designfinish">
</form>
<script>
function finish()
{
document.form1.submit();
}
</script>
</html>
我想在调用finish()函数的时候,通过提交form1的内容,来更新FRAME NAME="B"的内容,而不刷新A的内容。
c页面:
<script>
function aa()
{
self.frames["b"].location.href=NewUrl;
}
</script>
<body>
<iframe name=a src=a.htm></iframe>
<iframe name=b src=b.htm></iframe>
<form name=1 onsubmit=aa()>
</form></body>
如果要在
在form的target属性中指定B页所在的frame名字就就是了:<form name="form1" action="/businesscompass/manager" target=B>
<script>
function finish()
{
document.form1.target="B" //注意大小写哦
document.form1.submit();
}
</script>