javascript A mimeType
@March 15, 2008, 1:22 a.m.
mimeType | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/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. |
Permanent URL:
http://javascript.gakaa.com/a-mimetype.aspx
Powered by Linode.