1. 问题问得不清楚,什么文档?客户端还是服务器端?
2. function back() { history.go(-1); }
function forward() { history.go(+1); }
3. document.clear() 或者 document.open('text/html', 'replace')
4. location.href: 当前文档的URL
5. frame.src 表示页面地址。是。
6. return true; 或者 returnValue = true; 表示执行事件的默认操作,否则取消。
2. function back() { history.go(-1); }
function forward() { history.go(+1); }
3. document.clear() 或者 document.open('text/html', 'replace')
4. location.href: 当前文档的URL
5. frame.src 表示页面地址。是。
6. return true; 或者 returnValue = true; 表示执行事件的默认操作,否则取消。
2.history.back();history.forward();
3.document.close();document.write(" ");
or body.innerHTML=""等等
4.window.location.href当前文档
top.location.href顶 parent.location.href父
5.src初始化frame的地址,可以不同,也可相同,由src决定
6.return true;一般用于设置状态栏window.status的内容
3.document.innerhtml=""