首页/javascript外包/做网页如何返回当前文档的标题
下一条: 做网页javascript如何返回当前文档的 URL >
做网页如何返回当前文档的标题
发布-xiaoming | 浏览量-
做网页如何返回当前文档的标题
<html>
<head>
<title>My title</title>
</head>
<body>
该文档的标题是:
<script type="text/javascript">
document.write(document.title)
</script>
</body>
</html>
原文地址:http://www.35ui.cn/post/20110402467.html 标签:javascript培训班网站制作公司上一条: 如何用document.write()输出HTML
下一条: 做网页javascript如何返回当前文档的 URL
或许你还对下面的文章感兴趣