Name

classid — NN n/a IE 4 DOM 1

Synopsis

Read-only

The URL of the object’s implementation. In Internet Explorer, the URL can point to the CLSID directory (with a clsid: URL) that stores all the IDs for registered ActiveX controls, such as DirectAnimation. Be aware that there is a discrepancy in the case of this property name in Internet Explorer 4: Win32 requires classid; the Macintosh version requires classID. The DOM leaves the read/write or read-only status of this property to the discretion of the browser.

Example

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

Value

String.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.