如何改变IFRAME的内容 <input type=button value="设置" onclick= document.frames("toshow").location="http://www.csdn.net"><iframe id="toshow" src="a.jsp"></iframe> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 或者:<input type=button value="设置" onclick= document.frames("toshow").location.href="http://www.csdn.net"><iframe id="toshow" src="a.jsp"></iframe> <body><input onclick="document.all.mxh.src='http://sina.com.cn'" type=button value=change><br><iframe id=mxh src="http://colorweb.go.163.com"></iframe> 仁则见人,智则风智1、<input onclick="document.all.mxh.location.replace('http://sina.com.cn')" type=button value=change><br><iframe id=mxh src="http://colorweb.go.163.com"></iframe>2、<input onclick="document.all.rpl.innerHTML='<iframe id=mxh src=\'http://www.sina.com\'></iframe>'" type=button value=change><br> <span id=rpl><iframe id=mxh src="http://colorweb.go.163.com"></iframe></span> iframe自适应高度(跨域)的问题 一个棘手的问题 判断html对象 有关xpath的问题 请问怎样用jquery设置 请求头部 163博客JS问题 ???javascript 不刷新改变内容 js 数组问题 ..待解决................. 怎样在客户端用javascript对HTML的list控件中的数据进行排序??? 请教一个正则表达式,在线等待,立即结贴 checkbox与数组,请帮忙。 如何用javascript判断点击了哪一个页面对象(比如哪个图片,按钮?)
<input type=button value="设置" onclick= document.frames("toshow").location.href="http://www.csdn.net">
<iframe id="toshow" src="a.jsp"></iframe>
<input onclick="document.all.mxh.src='http://sina.com.cn'" type=button value=change><br>
<iframe id=mxh src="http://colorweb.go.163.com"></iframe>
1、
<input onclick="document.all.mxh.location.replace('http://sina.com.cn')" type=button value=change><br>
<iframe id=mxh src="http://colorweb.go.163.com"></iframe>2、
<input onclick="document.all.rpl.innerHTML='<iframe id=mxh src=\'http://www.sina.com\'></iframe>'" type=button value=change><br>
<span id=rpl><iframe id=mxh src="http://colorweb.go.163.com"></iframe></span>