Javascript Reference
Categories: LINK

javascript LINK type

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

Read/Write  

Indicates an advisory MIME type declaration about the data being loaded from an external source. For example, an external style sheet would be text/css. This information is usually set in the element tag's type attribute.

 
Example
 
if (document.getElementById("myStyle").type == "text/css") {
    ...
}
 
Value

MIME type string.

 
Default

None.


Powered by Linode.