document.readyStatereadyState--------------------------------------------------------------------------------DescriptionSpecifies the current state of an object being downloaded. Syntax
object.readyStateSettingsPossible values include: uninitialized The object is not initialized with data.
loading The object is currently loading its data.
interactive The object can be interacted with even though it is not fully loaded.
complete The control is completely loaded.
ResEach object can independently determine which of the four states it exposes. This property has read-only permission, meaning you can retrieve its current value, but not change it. Applies ToIMG, LINK, OBJECT, SCRIPT, STYLE, documentSee Also
onreadystatechange
object.readyStateSettingsPossible values include: uninitialized The object is not initialized with data.
loading The object is currently loading its data.
interactive The object can be interacted with even though it is not fully loaded.
complete The control is completely loaded.
ResEach object can independently determine which of the four states it exposes. This property has read-only permission, meaning you can retrieve its current value, but not change it. Applies ToIMG, LINK, OBJECT, SCRIPT, STYLE, documentSee Also
onreadystatechange
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货