怎么用javascript实现这个功能:在一个页面包含上下2个Frame,在上方页面的一个button的onclick事件中要求把页面demo.htm显示在下方的Frame parent.frameName.window.location.href = 'demo.heml';frameName 是你的Frame的name。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 同意 Apollo47(阿波罗) ( ) 信誉:100 这样写吗?:onclick = "parent.mianFrame.window.location.href = 'demo.html' --------------出现如下错误: parent.mianFrame.window为空或不是对象是我代码写错啦,还是怎的!?-----------javascript 新手,请多多指教! 本人笔误 应该为:parent.mainFrame.window为空或不是对象 parent.mainFrame.location = 'demo.html' javacript中 用document.writeln输入文本,假如文本中需要有双引号" 怎么做, ------------也就是javascript文本双引号的转义字符是怎么表示的? 因为我是用document.writeln来输出html,现在的错误不是parent.mainFrame.window为空或不是对象 而是“语法错误”,---document.writeln("<tr>");document.writeln("<td align=center height=20 style='cursor:hand;' onclick=parent.mainFrame.window.location.href= '" + mypage + "'"></td>"); document.writeln("</tr>");----很可能这里有语法错误 谁有EasyUI treegrid具体实例 包含分页代码 请问javscript传递参数相关问题? 请问如何监听dom结构发生了改变? FF是可以,但IE下什么也没有 请教关于三个级联下拉框的刷新问题! javascript 如何实现对服务器控件操作? javascript 图像处理程序,高分求救 怎么判断JavaScript当前位置是在Frame中还是IFrame中呢? 超简单的面试题,不会做,请各位帮忙! 随机颜色问题 如何在js的字符串变量中引用其他变量 如何選擇下拉框後,textarea就會相應的顯示內容.急
onclick = "parent.mianFrame.window.location.href = 'demo.html' --------------
出现如下错误: parent.mianFrame.window为空或不是对象是我代码写错啦,还是怎的!?-----------
javascript 新手,请多多指教!
parent.mainFrame.window为空或不是对象
,假如文本中需要有双引号" 怎么做,
------------
也就是javascript文本双引号的转义字符是怎么表示的?
现在的错误不是parent.mainFrame.window为空或不是对象
而是“语法错误”,
---
document.writeln("<tr>");
document.writeln("<td align=center height=20 style='cursor:hand;' onclick=parent.mainFrame.window.location.href= '" + mypage + "'"></td>");
document.writeln("</tr>");----
很可能这里有语法错误