没听过这种功能关于日期的常见操作
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
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
</head><body>
<script language="javascript">
var i = 0;
while (i<10) {
document.write("haha<br>");
i++;
}
alert(document.body.innerHTML);
</script>
</body></html>
使用:在 页面上点 右键,选 "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>
回车,就可以看到了。。
最好是 document.documentElement.outerHTML;
ie安装扩展也可以看
http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&DisplayLang=en