如何更改本页面的url地址啊 不是另外开一窗口,就在本页面中更新 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 javascript实现window.href.location='你要访问的地址' 如何写啊:<BODY><script language="JavaScript">window.href.location="http://yahoo.com.cn";</script></BODY>这样不行啊! 从a页面点击控件,改变b页面的url地址。 主页面:<frameset name="fstmain" cols="219,*" frameborder="1" framespacing="10" bordercolor="#3366cc" > <frame name="fmytree" src="tree.html" marginheight="0" /> <frame name="fmyshow" marginheight="0" scrolling="yes" src="myshow.html">" /></frameset>左页面:function myMethod(str){ window.open("myshow.html",'fmyshow'); }右页面:<p><input type="text" name="myshow" size="40"></p> <script language="JavaScript">window.open("xxx.jsp","_self");</script> 针对你的框架:<script language="JavaScript">window.open("xxx.jsp","fmyshow");</script> JTable中的某一列显示图片? 请问,哪些软件是Java写的? jsp 本地数据库 ajax 要用哪些技术实现呀? DDR SDRAM在嵌入式系统中的应用 千言万语直击对象本质 jtree怎样才能在接收到数据时,自动跳到最后一条,并使最后一条记录处于被选中状态。(在线) java中同时对一个文件建立读写流时,为什么有时候出现问题呢 java 字符串 使用符号隔开统计数字出现的次数 URI 相对路径怎么写? 指导几个java就业单位 请教一个关于随机数的问题 空格读出来是问号,这个问号不是真的问号,indexOf('?')返回是-1
window.href.location='你要访问的地址'
<script language="JavaScript">
window.href.location="http://yahoo.com.cn";
</script>
</BODY>
这样不行啊!
<frameset name="fstmain" cols="219,*" frameborder="1" framespacing="10" bordercolor="#3366cc" >
<frame name="fmytree" src="tree.html" marginheight="0" />
<frame name="fmyshow" marginheight="0" scrolling="yes" src="myshow.html">" />
</frameset>左页面:
function myMethod(str){
window.open("myshow.html",'fmyshow');
}右页面:
<p><input type="text" name="myshow" size="40"></p>
window.open("xxx.jsp","_self");
</script>
<script language="JavaScript">
window.open("xxx.jsp","fmyshow");
</script>