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; 表示执行事件的默认操作,否则取消。

解决方案 »

  1.   

    3. document.open('text/html', 'replace'),请问这个replace是什么意思?
      

  2.   

    1.document.lastModified和当前时间new Date()比较
    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.   

    1.setTimeout("document.lastModified!=new Date()?alert("asdfadf"):...;",3000);
    3.document.innerhtml=""