小白教程
所有教程
关于
Search
172.69.7.87
172.69.7.87
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Prop doc readystate”的源代码
本页内容
上一节:
Met_document_queryselectorall
下一节:
Prop_doc_referrer
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:document.readyState}}[[Category:dom obj document|36]] = HTML DOM readyState 属性 = [[dom obj document|Document 对象]] == 定义和用法 == readyState 属性返回当前文档的状态(载入中……)。 该属性返回以下值: * uninitialized - 还未开始载入 * loading - 载入中 * interactive - 已加载,文档与用户可以开始交互 * complete - 载入完成 == 语法 == <pre> document.readyState</pre> == 浏览器支持 == 所有主要浏览器都支持 readyState 属性 返回当前文档的载入状态: <sample title="" desc="" lang="html" hererun="1"> <html> <body> Loading status: <script> document.write(document.readyState); </script> </body> </html> </sample> <run name=""> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>小白教程(xiaobai.wang)</title> </head> <body> 载入状态: <script> document.write(document.readyState); </script> </body> </html> </run> [[dom obj document|Document 对象]]
返回至“
Prop doc readystate
”。
上一节:
Met_document_queryselectorall
下一节:
Prop_doc_referrer