internet explorer - How can I determine the type of ActiveXObject and object created in JavaScript? -


1)

say have following in javascript:

var xmldoc = new activexobject("msxml2.domdocument.6.0"); var xmldoc2 = new activexobject("msxml2.domdocument.3.0"); var xmldoc3 = new activexobject("microsoft.xmldom");  typeof xmldoc;  // returns object typeof xmldoc2; // returns object typeof xmldoc3; // returns object 

how return type of activexobject of each one, i.e. msxml2.domdocument.6.0, msxml2.domdocument.3.0? want observe if xmldoc's activexobject equal xmldoc2's activexobject.

2)

 // object xmldocument  var xmlobj = document.implementation.createdocument ("", "", null);   typeof xmlobj; // returns object 

same situation activexobject, except object defined xmldocument. how able validate xmldocument? again, typeof returns object, not helpful here.

thank much.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -