Javascript自动显示最后更新时间代码

经常更新网页,总是懒得弄最后更新时间,通过这段代码就可以用javascript实现自动显示最后更新时间

将此代码放入到发表页里面即可,如blogpost.asp等

javascript自动显示最后更新时间 代码内容如下:

<script language="JavaScript">
<!--hide script from old browsers
document.write("本页最后更新时间: " + document.lastModified + "")
// end hiding -->
</script>

This entry was posted in Technology. Bookmark the permalink. 3,716 views

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *