iframe中使用parent提示无权限问题 可能是因为a.htm与b.htm不在同一个域。可以这样做:parent.location.href="c.htm";--->>>window.open("c.htm","_parent"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to:JK_10000(JK)你的意思是把parent.location.href="c.htm" 换成window.open("c.htm","_parent")吗?我替换了,可是提示:拒绝访问 b.htm刷新了吗?你把b.htm页面的代码贴出来看看吧 代码如下,想要处理的是dl这个函数<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- saved from url=(0014)about:internet --><html xmlns="http://www.w3.org/1999/xhtml"><head><title>top.gif</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><script>function dl(){ window.open("mymear/dl.htm"); }</script><link href="mer.css" rel="stylesheet" type="text/css" /><style type="text/css"><!--.STYLE5 { color: #FF9900; font-size: 13px;}--></style></head><body topmargin="0" leftmargin="0" bgcolor="#ffffff" ><table width="950" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td height="93" colspan="11" > <table width="50%" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td> <div align="right"> <span class="STYLE3 STYLE5"> <a href="javascript:dl()" class="STYLE5" >登陆</a></span></div> </td> </tr> </table> </td> </tr></table></body></html> js中{}的使用 请问一个js脚本的作用 一个链接,当我鼠标移上去的时候,显示一个层,鼠标离开,就隐藏,但当我鼠标是移到这个层上面,层就不隐藏,请问这个js该如何写啊 国家\省\年市三级联动的实现。 radiobutton 选中的时候触发什么事件? Jquery attr 方法获取option属性值 能者进 如何获取框架里网页(已经改变了url)的location js文件在frame中的应用问题。搞定就给分。 关于导航条的一个问题---!高分赠送!!! 求树型菜单的代码??马上给分!!! <span>标记中的内容应如何对齐 弄了个选择月份选择的小控件 ,转成js时候出现错误
你的意思是把parent.location.href="c.htm" 换成window.open("c.htm","_parent")吗?我替换了,可是提示:拒绝访问
你把b.htm页面的代码贴出来看看吧
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>top.gif</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script>
function dl(){
window.open("mymear/dl.htm");
}
</script>
<link href="mer.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE5 {
color: #FF9900;
font-size: 13px;
}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#ffffff" >
<table width="950" border="0" align="left" cellpadding="0" cellspacing="0"> <tr>
<td height="93" colspan="11" >
<table width="50%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td>
<div align="right">
<span class="STYLE3 STYLE5">
<a href="javascript:dl()" class="STYLE5" >登陆</a></span></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>