如何在其它框架的网页中添加一行字符串? 可以.frameID.document.write("aaaaaaaaaa");frameID.document.body.innerText+="aaaaaaaa"; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 index.html<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><frameset cols="80,*" frameborder="NO" border="0" framespacing="0"> <frame src="left.html" name="left" scrolling="NO" noresize> <frame src="main.html" name="main"></frameset><noframes><body></body></noframes></html>left.html<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><body><a href="#" onClick="top.document.frames['main'].document.write('ceshi ceshi')">ceshi</a> </body></html>main.html<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><body>hello</body></html> 给不同的层赋值问题 怎么在没有安全提示的情况下得到file域中文件的大小 看不懂的正则表达式的pattern 怎么得到本网页所在的框架的名称? 关于动态写成的HTML页面的JS引入问题,急!能给多少分就给多少分! 请问一下:怎样判断一个对象是否存在? 对话框问题? 如果给一个<TD>...</TD>设置onclick事件因该如何做? 日程安排框架 求大神们看看这个代码!! 有关ExtJs的! 如何获取select选项中的text!!!急!! 请问如何用javascript检测浏览器是否支持XML+XSL制作的网页?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="left.html" name="left" scrolling="NO" noresize>
<frame src="main.html" name="main">
</frameset>
<noframes><body></body></noframes>
</html>left.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
<a href="#" onClick="top.document.frames['main'].document.write('ceshi ceshi')">ceshi</a>
</body>
</html>
main.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
hello
</body>
</html>