Click to return to the XML (Extensible Markup Language) home page    
XMLDOMDocument onreadysta...     XMLDOMDocument ontransfor...     XMLDOMDocument Object    
Web Workshop  |  XML (Extensible Markup Language)

onreadystatechange Property


Specifies the event handler to be called when the readystate property changes.

Syntax

objXMLDOMDocument.onreadystatechange = value

Remarks

The property is write-only. When using scripting languages, this property can be set in ways other than directly accessing the property through the XMLDOMDocument object. It can also be set using the onreadystatechange attribute of the <XML> tag, and the SCRIPT FOR... construct.

This member is an extension of the W3C DOM.

Example

The following VBScript example assigns the name of a function to the onreadystatechange property:

Function MyFunc()
   'Code goes here
End Function

Set xmlDoc.onreadystatechange = getref("MyFunc")

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
XMLDOMDocument, XMLHTTPRequest


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.