readyState Property--------------------------------------------------------------------------------Retrieves the current state of the object.SyntaxHTML N/A
Scripting [ sState = ] object.readyState Possible ValuessState String that receives one of the following values:uninitialized Object is not initialized with data.
loading Object is loading its data.
loaded Object has finished loading its data.
interactive User can interact with the object even though it is not fully loaded.
complete Object is completely initialized.
The property is read-only. The property has no default value.ResAn object's state is initially set to uninitialized, and then to loading. When data loading is complete, the state of the link object passes through the loaded and interactive states to reach the complete state. The states through which an object passes is determined by that object; an object can skip certain states (for example, interactive) if the state does not apply to that object.
Scripting [ sState = ] object.readyState Possible ValuessState String that receives one of the following values:uninitialized Object is not initialized with data.
loading Object is loading its data.
loaded Object has finished loading its data.
interactive User can interact with the object even though it is not fully loaded.
complete Object is completely initialized.
The property is read-only. The property has no default value.ResAn object's state is initially set to uninitialized, and then to loading. When data loading is complete, the state of the link object passes through the loaded and interactive states to reach the complete state. The states through which an object passes is determined by that object; an object can skip certain states (for example, interactive) if the state does not apply to that object.
解决方案 »
- js读xml节点值
- html table 如何绑定两行
- 在同一个分组的单选按钮,用javaScript写出判断那个单选按钮被选中。
- IE text 中如何实现 Ctrl+C 调用自己的js函数
- 如何获取selection中的元素
- ext3.1 Ext.grid.EditorGridPanel修改完数据怎样刷新页面
- 如何获取IFRAME中的全部内容,frameElement.document.body.innerHTML 只能获取body中的内容?
- 有没有Web的鱼骨图插件?
- ***********请问这个代码为什么会报错啊!***********
- 如何动态为控件添加事件函数?
- 菜鸟问题:如何在JS 实现禁止IE后退按钮功能?
- 请问如何实现在IE浏览器关闭时执行某段ASP代码?
<div id=mxh></div>
<img src="http://lucky.myrice.com/back.jpg">
<script>
function document.onpropertychange()
{
document.all.mxh.innerText+=document.readyState
}
</script>
可以在msdn上查找到readyState相关属性