javascript A mimeType

mimeType NN n/a IE 4 DOM n/a  

Read-only  

Returns a plain-language version of the MIME type of the destination document at the other end of the link specified by the href attribute. You could use this information to set the cursor type during a mouse rollover. Don't confuse this property with the navigator.mimeTypes[] array and individual mimeType objects that Netscape Navigator refers to. This is not available in IE 4/Macintosh.

 
Example
 
if (document.getElementById("myLink").mimeType == "GIF Image") {
    ...
}
 
Value

A plain-language reference to the MIME type as a string.

 
Default

None.


181,Nickname,Homepage or email,Comments here,Add comment