Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES

GLM.XML.XMLDocument.setAsync

GLM.XML.XMLDocument.setAsync

Method for setting the asynchronous load flag.

Parameters:

async - Set to true to use asynchronous behavior, else set to false.

Example:

var xml = new GLM.XML.XMLDocument();

function XmlOnLoad(){
    alert(xml.getXML()); //display the xml string
}//end XmlOnLoad()

xml.setOnLoadCallback(XmlOnLoad);
xml.setAsync(true); //use asynchronous behavior
xml.load("xml/test.xml");



Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES