Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the Internet media type for the code associated with the object.
Syntax
<OBJECT CODETYPE = sType ... > |
OBJECT . codeType [ = sType ] |
Possible Values
sType | String that specifies or receives the media type. |
The property is read/write. The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .
Remarks
Internet media types are also known as MIME types.
The codeType property is read-only for any pre-existing object in an HTML document. For instances of objects that are created in script, the codeType property is read/write-once, because the codeType property is written when an object is created. After an instance of an object is created, the codeType property is read-only.
Standards Information
This property is defined in HTML 4.0 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
OBJECT |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |