PROPERTY:  Document::async

This property is a Microsoft extension to the W3C DOM.

Document.async = [true | false]

The async property is a boolean which determines whether asynchronous downloading of an XML file is permitted. The default is true, meaning that the load method returns control to the caller before the download is complete. (If it is set to true you can use the readyState property to determine when downloading is complete.) The following example demonstrates the setting of this property to false before loading a document so that the document is fully loaded before the caller regains control.

Code (JavaScript):
var xml_doc = new ActiveXObject("Microsoft.XMLDOM");
xml_doc.async = false;
xml_doc.load("recordings.xml");



Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information