O OBJECT.readyState (Property) OBJECT.readyState (Property) The current status disposition of the tag as it is being loaded. Availability: JScript 3.0 Internet Explorer 4.0 Property/method value type: String primitive JavaScript syntax: IE myOBJECT.readyState This property reflects the loading status of an tag and its corresponding OBJECT object instantiation. Sometimes, you can design scripts to execute while the document is downloading. Inline scripts for example. At that time, you may even be able to trigger interval timed deferred executions as well. If it is important that the document has completed loading, you can check this property for one of the following values: uninitialized loading loaded interactive complete State Value The object is first instantiated but has not begun loading. The object has commenced loading. The object has completed loading. The object is loaded but not yet closed but is ready to handle interaction. The object body has been closed and the loading is finished. An object may not need to reflect the complete status before you can commence operating on it. Other objects may require that they are completely loaded. For example, you cannot create an OBJECT object that represents an tag until the has completed loading. This is because the ActiveX object construction requires a complete document body structure to attach itself to. Every time this readyState value changes, it triggers an onReadyStateChange event call-back. See also: onReadyStateChange Property attributes: ReadOnly. 1601
This entry was posted
on Monday, March 24th, 2008 at 5:00 pm and is filed under Tomcat .
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response , or trackback from your own site.