如何通过一个按钮,打开一个Url,该Url的显示在一个iframe中?(急) <input type=button value="open" onclick="window.open('test.htm','ifrm')"><iframe name="ifrm"></iframe>or onclick="ifrm.location.href='test.htm'" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><body><input type="button" onclick="document.all('testm').src='test1.asp';value="显示"><br><iframe name="testm" width="200" height="200" frameBorder=1 scrolling="no" style="scroll: no"></iframe></td></body></html> 除了他们的方法还可以是:<input type=button value="open" onclick="window.frames('ifrm').location='http://www.163.com';"><iframe name="ifrm"></iframe> http://wufanglu.myrice.com/ 中的第一版树形结构就用到了跨框架的代码。不过,那是从框架里中控制框架外面的内容。 求个正则换其中的字符 询问关于jquery给div的innerHTML赋值问题 radio的值在IE能正常显示,firefox则不正常 来帮忙看一下,为什么出错 该怎么学习JSP 请帮我改改test2()函数,在FF下正常,在IE下不正确 在线HTML文本编辑器里面包含的两个JS文件里的有些方法的用途不明白,希望高人帮助解答. window.close()关闭网页时能不能不弹出提示框直接关闭? 如果解决如下iframe 的宽度设置问题. 关于复选框的选择和提交的问题?(请教了) 有没有JS的好编辑器 能否在表格里把数据库的数据显示成星点?即密码的形式
<body>
<input type="button" onclick="document.all('testm').src='test1.asp';value="显示"><br>
<iframe name="testm" width="200" height="200" frameBorder=1 scrolling="no" style="scroll: no"></iframe></td>
</body>
</html>
<input type=button value="open" onclick="window.frames('ifrm').location='http://www.163.com';">
<iframe name="ifrm"></iframe>
中的第一版树形结构就用到了跨框架的代码。
不过,那是从框架里中控制框架外面的内容。