View Full Version : Hold til Object Loaded?

07-03-2003, 01:35 PM
Hi people,

I'm using an XML object (but please don't move the post there... noboy's ever there and besides, this is more DOM related!), but I don't think the data is loading in time before I'm using it. I searched Microsoft's MSDN, and found an event handler called 'ondataavailable', but I don't know how to use it. Has anybody got any suggestions or ideas? Thanks in advance for your help. Chris

current code....

var objGroupsHTTP = new ActiveXObject("Msxml2.XMLHTTP.4.0");
var objGroups = new ActiveXObject("MSXML2.DOMDocument.4.0");
objGroupsHTTP.open("POST", "http://...");

07-10-2003, 06:48 AM
Originally posted by christrinder
try it without the quotes, that works for me

07-21-2003, 10:48 AM
Yeah since it's a boolean value I don't think it should have quotes. JavaScript would consider it to be a string.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum