没听过这种功能关于日期的常见操作
http://community.csdn.net//Expert/TopicView2.asp?id=4360247&datebasetype=now
js FAQ贴
http://community.csdn.net//Expert/TopicView2.asp?id=4356360&datebasetype=now
DHTML手册,js手册,dom手册下载
http://community.csdn.net//Expert/TopicView2.asp?id=4356325&datebasetype=now

解决方案 »

  1.   

    <html><head>
    </head><body>
    <script language="javascript">
    var i = 0;
    while (i<10) {
        document.write("haha<br>");
        i++;
    }
    alert(document.body.innerHTML);
    </script>
    </body></html>
      

  2.   

    下面两个存成文件,放在同一目录下,然后在 FullSource.inf 上点右键,选“安装”。
    使用:在 页面上点 右键,选 "DHTML代码" 项。--FullSource.inf----------------------------------------------------[Version]
    Signature="$Chicago$"
    Provider="ThunderMain Ltd"[DestinationDirs]
    DefaultDestDir=10,"web"[DefaultInstall]
    AddReg=FullSource_AddReg
    CopyFiles=FullSource_CopyFiles[FullSource_CopyFiles]
    FullSource.html[FullSource_AddReg]
    HKCU,"Software\Microsoft\Internet Explorer\MenuExt\DHTML代码(&F)",,0x00000000,"%10%\web\FullSource.html"
    --FullSource.html---------------------------------------------------<html>
    <body>
    <script language="JavaScript" defer>
    <!--
    // specific to context menu extensions
    var win = external.menuArguments;// the document object the user right-clicked on
    var doc = win.document;// the html string composing most of the document (everything inside the <HTML></HTML> tags
    var szsource = "";
    szsource = doc.documentElement.outerHTML;// make sure our debugging window is a unique window
    var wincounter = 0;var mywin = window.open("about:blank", "fullsource" + wincounter++, "toolbar=no,location=no,menubar=yes,status=yes,scrollbars=yes,resizable=yes");
    while (mywin == null) {
    mywin = window.open("about:blank", "fullsource" + wincounter++, "toolbar=no,location=no,menubar=yes,status=yes,scrollbars=yes,resizable=yes");
    } // if (mywin == null)var myDoc = mywin.document;myDoc.open("text/plain");
    myDoc.write(szsource);
    myDoc.close();
    myDoc.title = "Full Source for: " + win.location.href;
    // -->
    </script>
    </body>
    </html>
      

  3.   

    用IE打开这个页面后,真接在地址栏敲: javascript:alert(document.body.innerHTML);
    回车,就可以看到了。。
      

  4.   

    myy()的方法非常好用,谢一个。:)
      

  5.   

    document.body.innerHTML 不能看到 head 等 body 之外的东西,
    最好是 document.documentElement.outerHTML;
      

  6.   

    用php或者jsp写一个用web访问看源文件就可以了。
      

  7.   

    firefox浏览器就可以直接看
    ie安装扩展也可以看
      

  8.   

    IE扩展下载
    http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&DisplayLang=en