Querying ActiveX Objects Parameters,etc. using Javascript
there's a code in javascript to list all things about an element:
var element = document.getElementById("button");
for(var list in element){
document.writeln(list);
}
this piece of code runs on both IE and Mozilla-based browsers.
however, if I replace the element to an ActiveX object ( for IE only )
var obj= = new ActiveXObject("Microsoft.XMLHTTP");
for(var list in obj){
document.writeln(list);
}
it no longer works. I dunno why.
regards,
katips :confused:

