Javascript Reference
Categories: OBJECT

javascript OBJECT classid

@March 15, 2008, 1:22 a.m.
classidFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

Read-only  

Provides the URL of the object's implementation. In Internet Explorer, the URL can point to the client computer's CLSID directory (with a clsid: URL) that stores all the IDs for registered ActiveX controls, such as DirectX or Media Player. IE 4 for Macintosh names this property classID, but the name was repaired to all lowercase in IE 4.5. The W3C DOM omits this property, even though HTML 4 includes the corresponding attribute.

 
Example
 
if (document.getElementById("soundObject").classid ==
    "clsid:83A38BF0-B33A-A4FF-C619A82E891D"){
    // process for the desired sound object
}
 
Value

String (including the clsid: protocol for local ActiveX controls).

 
Default

None.


Powered by Linode.