Javascript Reference
Categories: OBJECT

javascript OBJECT code

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

Read-only  

Provides the name of the Java applet class file set to the code attribute of the object element (when using an object element in lieu of an applet elementif supported by your browsers).

 
Example
 
if (document.getElementById("clock").code == "Y2Kcounter.class") {
    // process for the found class file
}
 
Value

Case-sensitive applet class filename as a string.

 
Default

None.


Powered by Linode.